Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-02-19 : 09:26:32
|
| sushil writes "How can i fetch in a single query If table contains 10 records in that 6 are unique and 2 are repeated.I need to fetch the 6 unique records plus 2 records also without repetation." |
|
|
JustinBigelow
SQL Gigolo
1157 Posts |
Posted - 2002-02-19 : 09:31:26
|
| You can use the DISTINCT keyword to remove dupes. See BOL for more info.Justin |
 |
|
|
|
|
|