我按 ID 选择照片,按订单字段选择下一张照片。
我检查照片 id = 33 的存在并按顺序查找下一张照片
SELECT `id` FROM `product_photo`
WHERE
`product_id` = (SELECT `product_id` FROM `product_photo` WHERE `id` = '33' )
AND
`order` >= (SELECT `order` FROM `product_photo` WHERE `id` = '33' )
LIMIT 2
是否可以简化此查询?