Hi,
I have three columns. however i would like to list common records.
i.e.111 and 124 which appears in multiple time.
How to figure out the name/id which is > 1. Using sql server 2005.
Table : Street
Name ID Street Name
--------------------------------
Lina 111 Randolp
Rosy 123 Lake
BOb 124 E Randolph
BOb 124 W Lake
Lina 111 E Lake
Peter 125 W Clark
Ryan 116 State st
BOb 124 Stanger st
Output should like :- ( Which contains more than one record)
Name ID
----------------
Lina 111
BOb 124
Thanks in advance.
-mac
I have three columns. however i would like to list common records.
i.e.111 and 124 which appears in multiple time.
How to figure out the name/id which is > 1. Using sql server 2005.
Table : Street
Name ID Street Name
--------------------------------
Lina 111 Randolp
Rosy 123 Lake
BOb 124 E Randolph
BOb 124 W Lake
Lina 111 E Lake
Peter 125 W Clark
Ryan 116 State st
BOb 124 Stanger st
Output should like :- ( Which contains more than one record)
Name ID
----------------
Lina 111
BOb 124
Thanks in advance.
-mac