- - Code, Content, and Presentation
- -- Databases
- ---- perhaps a rookie question
LifeinAsia - 3:55 pm on Jun 9, 2011 (gmt 0)
Not sure if you could accomplish something like this in a single query. You can probably do something easily by looping through the results of your query.
Much easier to do on the application server side (PHP, .NET, etc.).
Thread source: http://www.webmasterworld.com/databases_sql_mysql/4323677.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com