Skip to content

Instantly share code, notes, and snippets.

@PaulieScanlon
Created May 17, 2024 21:26
Show Gist options
  • Save PaulieScanlon/a4e1d7f46dd0f1d09d3dbb9f362de1cc to your computer and use it in GitHub Desktop.
Save PaulieScanlon/a4e1d7f46dd0f1d09d3dbb9f362de1cc to your computer and use it in GitHub Desktop.
Example of SQL create table
CREATE TABLE USERS (
user_id SERIAL PRIMARY KEY,
first_name VARCHAR(100),
last_name VARCHAR(100),
email VARCHAR(80) UNIQUE,
role VARCHAR(20)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment