I have a MySQL table that holds many entries with repeated IDs (for various reasons)
So you might have something like
ID TIME DATA
1 xx xx
2 xx xx
3 xx xx
1 xx xx
3 xx xx
What query can I run through PHP to select each ID only once?
So I would like my result set to look like
ID TIME DATA
1 xx xx
2 xx xx
3 xx xx
Take a ganders at SELECT DISTINCT