我在前面的问题中得到了这个SQL,但我在解释查询时没有得到任何回应。所以我在这里问。 我刚才的问题:How can i remove the oldest entries in my SQL result?有人可以为我解释这个SQL吗?
select a.id,
a.user,
a.item_id,
a.created
from reports as a
where a.created = (select max(created)
from reports as b
where a.item_id = b.item_id)
什么部分你不明白? –
请至少链接到其他问题,所以我们有一些背景! –
我想要它解释 - 部分零件,了解完整查询 –