I want to retrieve a table which has repeated values in column1, column2 and column3. column 4 has different sets of data corresponding to value in column3. How should I query such a table?
Ex:
District | City | Place
----------|----------------|-------------
bangalore | bangalorerural | indiranagar
bangalore | bangalorerural | jayanagar
I want to display bangalore, bangalorerural once with indiranagar and jayanagar in other rows.