I'm new to Mysql. In one of my mysql tables, I have a row that two columns involved and I need to list user as multiple rows, I'm wondering if it is possible.
For instance, in mysql table1, there is only one user1 as below;
id username value1 value2
===========================================
1 user1 abc def
I want to group user1 by pass1 and pass2 with an additional row as below;
id username allvalues value
=============================================
1 user1 value1 abc
2 user1 value2 def
id number is not important at that point as long as it is uniqe.
Thanks in advance.