" /> " />
1 2
SELECT DISTINCT column_name(s) FROM table_name
There is a table "Persons":
For this we use this query:
1
SELECT DISTINCT City FROM Persons
Query Result:
But how to choose and at the same time P_Id?
JoomThumbnail
Ajax Wtranslate
Comments
I think
P_Id, City FROM Persons Quote
City, P_Id FROM Persons Quote
Quote
Sandnes
Sandnes Quote
SELECT * FROM Persons
WHERE
1
2
WHERE
City
Sandnes
Sandnes
Quote