Kitchen
My Libraries
SELECT category.*,workphoto.* from workphoto inner join category on category.catid = workphoto.catid and workphoto.checked=1 and workphoto.current_status='Yes' and workphoto.catid='10' order by wid;