Soldato
- Joined
- 24 Nov 2002
- Posts
- 16,378
- Location
- 38.744281°N 104.846806°W
I have a table with three fields: "id", "desc" and "db".
I want "id" and "db" to be the composite primary key, however the table as it stands at the moment is not unique.
I want to create a new table with only unique values.
The difficulties I'm having is id on its own doesn't have to be unique, neither does db on its own... it is the id/db combination that is unique.
Any pointers?
I want "id" and "db" to be the composite primary key, however the table as it stands at the moment is not unique.
I want to create a new table with only unique values.
The difficulties I'm having is id on its own doesn't have to be unique, neither does db on its own... it is the id/db combination that is unique.
Any pointers?