MySQL Forums
Forum List  »  PHP

MYSQL QUERY
Posted by: krshna p
Date: January 11, 2019 05:32AM

I NEED IDEA TO GET BELOW OUTPUT
Output will be like this

+----------------------------------------------+
| AGENT | HIGH | NORMAL | LOW |
+----------------------------------------------+
| A | 2 | 1 | 1 |
+----------------------------------------------+
| B | 3 | 3 | 2 |
+----------------------------------------------+
MySQL table struct

ID AGENT PRIORITY
1 A HIGH
2 B NORMAL
3 B HIGH
4 A LOW

Options: ReplyQuote


Subject
Written By
Posted
MYSQL QUERY
January 11, 2019 05:32AM
January 11, 2019 11:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.