I have the following query, its only returning two records when i have three in the database- where am I going wrong?
SELECT items.id, items.link, items.title, items.image, lists.user
FROM lists, items
WHERE lists.user = '506161637' AND lists.item = items.id
GROUP BY lists.dated DESC LIMIT 0, 10000;
The data set of a join table is below but its only returning two records... Rows 19 and 17? maybe theres a better group function to use?
id user item dated
19 506161637 8 2009-11-19
18 506161637 6 2009-11-19
17 506161637 5 2009-11-18