|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
SQL help
Is there anyway to select only the uniqe rows in a column?
Like: SELECT s.Country FROM Student as s WHERE s.County (is unique) It would be useful to have this kind of functionality if you would like to know all the different countries students come from etc. --Mike |
|
#2
|
||||
|
||||
|
RE: SQL help
Yep. No problem:
Code:
SELECT DISTINCT Country FROM Student |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > SQL help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|