Skip
Arish's avatar

246. Practice - UNIQUE


Exercise: Unique Username

Create table with unique username.

Solution

sql
1CREATE TABLE accounts (
2  id INTEGER,
3  username TEXT UNIQUE
4);