I need to group my table, my table had lot of columns but i am showing only two column jtcno and projectno. The primary key is roeid, it contain an auto increment numbers. My table structure is as given below
+-------+-----------+
| jtcno | projectno |
+-------+-----------+
| 8229  |     10636 |
| 8230  |     10636 |
| 8231  |     10636 |
| 8229  |     10637 |
| 8230  |     10637 |
| 8231  |     10637 |
| 8229  |     10637 |
| 8230  |     10637 |
| 8231  |     10637 |
+-------+-----------+
I need to group the table according to jtcno as follows
+-------+-----------+
| jtcno | projectno |
+-------+-----------+
| 8229  |     10636 |
| 8230  |     10636 |
| 8231  |     10636 |
| 8229  |     10637 |
| 8230  |     10637 |
| 8231  |     10637 |
+-------+-----------+
Can anyone help me to write the query. Thank you in advance.
 
     
     
    