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