home
SELECT id FROM photo WHERE category_id='10';
Arse! No match found.