>Drawings 2007-8

error getAllData Unknown column 'work_id' in 'where clause'
select id, w.name, w.file, w.date_added, w.date_created, w.medium, w.filetype, w.file_size, w.dimensions, w.description, w.thumb_file, w.is_hidden, w.parent_id, w.is_featured, w.is_available, w.owner, w.group_name from work w, category2 c, work_category2 wc WHERE work_id = wc.wID AND wc.cid = 2 AND category2_id = wc.cid ORDER BY dateCreated DESC