I have an SQL table with two fields as primary key (ID & RX), RX has AUTO_INCREMENT. This results in the following SQL table:
ID | RX
------------------
1 | 1
1 | 2
2 | 3
2 | 4
However, I expected the following result :
ID | RX
------------------
1 | 1
1 | 2
2 | 1
2 | 2
What is wrong in my configuration? How can I fix this? Thanks!