Unknown column 'video' in 'where clause'
select * from files where file_id=video and file_type=1