|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
selecting non duplicate fields from a table
may i know hows the statement like for selecting a field with different values, but there are duplicate values in the column..
|
|
#2
|
||||
|
||||
|
SELECT DISTINCT
Example: Code:
SELECT DISTINCT(LastName) FROM [Users] ORDER BY LastName |
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > selecting non duplicate fields from a table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|