Exercise: Required Unique
Create table with required unique email.
Solution
sql
1CREATE TABLE members (
2 id INTEGER,
3 email TEXT NOT NULL UNIQUE
4);
Create table with required unique email.
1CREATE TABLE members (
2 id INTEGER,
3 email TEXT NOT NULL UNIQUE
4);