0

Let's say I have a table called CAT

CAT has two columns ID and NAME

I forgot to add a unique constraint for these two columns.. and in my database I want to make sure I don't have any wrong entries before I add that constraint.

So I want a query to make sure every ID has unique values in the NAME column. How can I query for this?

Shadow
  • 33,525
  • 10
  • 51
  • 64
RonApple1996
  • 269
  • 3
  • 13

0 Answers0