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