Jump to content

Recommended Posts

An example of my data

 

id - name - img - date

88 - Transformers: The Complete Series - 51NkgXkcBdL.jpg - 2009-10-17 11:42:27

89 - Transformers: Revenge of the Fallen - 613JpLLDqXL.jpg - 2009-10-17 11:44:24

90 - I Love You Man - 51JCT4GYZuL.jpg - 2009-10-17 12:15:32

91 - Transformers: Revenge of the Fallen - 613JpLLDqXL.jpg - 2009-10-17 12:58:08

92 - Transformers: Revenge of the Fallen - 613JpLLDqXL.jpg - 2009-10-17 12:58:09

93 - Transformers: Revenge of the Fallen - 613JpLLDqXL.jpg - 2009-10-17 12:58:10

 

I know how to select the 3 most recent rows

SELECT * FROM table ORDER BY date DESC LIMIT 3

 

But how can I get the 3 most recent unique (except for date) rows?  I've been playing all morning and I'm either really close to figuring it out or I'm completely off.

 

Thanks

Amanda

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.