Hall
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='9' order by wid;