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 |
jimib
Starting Member
3 Posts |
Posted - 2014-07-21 : 14:11:25
|
I have a table like this:1 a2 a3 b4 b5 b6 cand I need this:1 a 12 a 23 b 14 b 25 b 36 c 1can anyone help? |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2014-07-21 : 14:17:56
|
Use the ROW_NUMBER() function for this.Tara KizerSQL Server MVP since 2007http://weblogs.sqlteam.com/tarad/ |
|
|
|
|
|