Hello,
I have a table "items" like this:
id
item
section
posting_date
Now what I want to do is to make a SELECT query that retrieves the 3 newest "items" for this table, but none of them should belong to the same "section". How do I do this?
Until now I have:
SELECT * FROM items GROUP BY posting_date DESC LIMIT 3
Thanks for your time!!
I have a table "items" like this:
id
item
section
posting_date
Now what I want to do is to make a SELECT query that retrieves the 3 newest "items" for this table, but none of them should belong to the same "section". How do I do this?
Until now I have:
SELECT * FROM items GROUP BY posting_date DESC LIMIT 3
Thanks for your time!!