Microsoft
Software
Hardware
Network
Question : How to write the query that the table shows the results the way i want in mysql
MYSQL Table
-----------------
Name Phone
Aung 09 1111111
Aung 09 2222222
John 09 4444444
Mary 09 6666666
Chris 09 8888888
Chris 09 3333333
I want to write the mysql query that the table show the result as below
Table
-----
Name Phone1 Phone2
Aung 09 1111111 09 2222222
John 09 4444444 -
Mary 09 6666666 -
Chris 09 8888888 09 3333333
Answer : How to write the query that the table shows the results the way i want in mysql
The statement only uses one table, 5 times.
Replace all "tbl" with your table name.
Random Solutions
How would I format the return data from a mssql query
Outlook 2010 duplicate reminders
Read XML file in global.asax to redirect page request to correct page
Epox 8VTAI Drivers
How do I add a column of drop down lists to a gridview bound in code-behind?
Deploying Access 2007 to Server 2003 Environment
How to add username of user who executed script to log
using one procedure with for parameteres to open forms
ASA VPN
Date increment loop using Javascript in Pentaho Data Integration