We are looking for a table with “Composite Primary Key” (2 fields together)
In this one field needs to be auto incremented.
CREATE TABLE test_table(
field1 INTEGER,
field2 INTEGER AUTOINCREMENT,
field3 INTEGER,
PRIMARY KEY (field1, field2)
)
we use the above code but it throws some error.
You misspelled auto_increment 😉