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 |
|
htrivedi
Starting Member
10 Posts |
Posted - 2001-08-16 : 13:34:27
|
| i have two tables table 1 has about 500000 records and table 2 has 150 distinct recordstable1 : custid, customer_name, city_code table 2 : city_code, city_name, State need to bring only 10 distinct custid, customer_name, city_code from table 1 for each city_code listed in table2Edited by - htrivedi on 08/16/2001 13:42:15Edited by - htrivedi on 08/16/2001 13:42:58 |
|
|
|
|
|