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 |
|
tamancha.1
Starting Member
37 Posts |
Posted - 2010-04-28 : 13:22:18
|
| How to dedup the entire row based on two variables in SQL? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
tamancha.1
Starting Member
37 Posts |
Posted - 2010-04-28 : 16:43:40
|
| Table 1time_stamp user_id ip ad1/4/2010 10:14:58 576460854838916000 64.12.112.140 11770541/4/2010 10:14:58 576460854838916000 99.148.205.225 11770541/5/2010 18:07:00 2305843014859140000 74.193.38.94 11770542/15/2010 12:21:23 885371972114972000 97.73.240.224 11770542/15/2010 12:21:23 885371972114972000 97.73.240.224 1177054I want to keep one(any)top row for each user_id? |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
tamancha.1
Starting Member
37 Posts |
Posted - 2010-04-30 : 11:30:36
|
| Yes, That helps. Thanks. |
 |
|
|
|
|
|