SELECT * FROM scms_tours_has_photos WHERE tours_id = ORDER BY id DESC