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