Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Distinct?

$
0
0
Hai rather new to DB2

i have a table A that has three fields

terminal-id
product-id
office-number

terminal/product is primary key

How can I quickly find out if there is more than one office-number related to a terminal-id?
example

row 1
terminal A
product GTA
office 1245

row 2
terminal A
product SDG
office 1249

Here two offices are related two the same terminal

thnx

Viewing all articles
Browse latest Browse all 13329

Trending Articles