Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting problem... session & time

Status
Not open for further replies.

mancroft

Programmer
Oct 26, 2002
267
GB
Sorting problem... session & time

Hello

Lets say you have data like this:

Time Sessionid
20.55 a1
20.44 a1
20.39 x3
20.33 x3
20.29 a1
20.27 a1

and you want to sort it so it looks like this i.e. grouped according to Sessionid and then Time:

a1 = 20.55 20.44 20.29 20.27
x3 = 20.39 20.33

What is the best way to do this in mySQL?

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top