select * from photos where passed=true and photobookid=48 order by orderid