If I have a table created similarly to the following:
CREATE TABLE MyTable(
id1Part1 INT NOT NULL,
id1Part2 INT NOT NULL,
id2Part1 INT NOT NULL,
id2Part2 INT NOT NULL,
UNIQUE KEY (id1Part1, id1Part2),
UNIQUE KEY (id2Part1, id2Part2)
);
how can I now ask the database to give me the two “unique key” tuples?
(SHOW INDEX doesn’t seem to do this.)
I’m not sure if you’re looking for something like this