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 |
|
sign_seventh
Yak Posting Veteran
66 Posts |
Posted - 2007-06-21 : 23:47:30
|
| sample query results:cid cno cvalue --- --- -------835 201 add edit835 201 add edit836 202 with VAT836 202 with VAThow can i filter this more into this:835 201 add edit836 202 with VAT |
|
|
pbguy
Constraint Violating Yak Guru
319 Posts |
Posted - 2007-06-21 : 23:49:14
|
| Select distinct cid, cno, cvalue from tablename(OR)Select cid, cno, cvalue from tablename group by cid, cno, cvalue--------------------------------------------------S.Ahamed |
 |
|
|
sign_seventh
Yak Posting Veteran
66 Posts |
Posted - 2007-06-22 : 01:32:23
|
| ok thnx a lot |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|