how to define a composite primary key in sql
snippet in sql

how to define a composite primary key in sql

user6667

CREATE TABLE person(id INT, 
					name TEXT,
					PRIMARY KEY (id, name)
				   );