I have two tables
1. test 1 2. test 2
The first table has
**id** - **name** 1 - kerala 2 - Tamilnadu
Second table
**name** - **jid** value 1 - 1 value 2 - 1 value 3 - 1 value 4 - 1 value 5 - 2
My request is
SELECT t1.name, t2.name FROM test1 t1 INNER JOIN test2 t2 WHERE t1.id = t2.jid
now i get this result
**name** - **name** Kerala - value 1 kerala - value 2 kerala - value 3 kerala - value 4
But I need a result like this
Kerala - value 1 - value 2 - value 3 - value 4
Kerala should not be repeated.
source share