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 |
|
Mageshkumar
Starting Member
29 Posts |
Posted - 2008-09-02 : 03:47:52
|
| Hi my tables values like this:a1 100 Na 22a1 100 Na2 44a1 101 Na 66a2 100 na2 88Now i need o/p like this:a1 132a2 88 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-09-02 : 04:07:08
|
| select col1,sum(col4) as col4 from tablegroup by col1MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|