Hello, I want a table in SQLite that has 2 fields as primary key and also a field% co_of% that is unique integer. What I've been looking for is something like this:
create table t (id integer, name string, phone string, nick string PRIMARY KEY(name, phone);
So far so good, but the field id is not created as an integer id . I should have defined it as:
create table t (id integer PRIMARY KEY AUTOINCREMENT, .......)
But then I can not put the other 2 fields as autoincrement . For the field primary key in principle I will not search, I only want it to be a single field. I have tried different variations and it tells me that the table id has more than one t .
Thanks for the collaboration.