1054 - Unknown column 'lid' in 'where clause'

select COUNT(*) as num from gallery_pictures where category_id='30' and lid='1'

[TEP STOP]