Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # psql \
- --host=localhost \
- --port=5432 \
- --username=dev_user \
- --password \
- users
- Password: password12345
- psql (14.11 (Ubuntu 14.11-0ubuntu0.22.04.1), server 14.1)
- Type "help" for help.
- users=#
- users=#
- users=# create table users CREATE TABLE users (
- id SERIAL PRIMARY KEY,
- username VARCHAR(50),
- age INTEGER
- );
- users=# INSERT INTO users (username, age) VALUES ('Alice', 25);
- INSERT INTO users (username, age) VALUES ('Bob', 30);
- INSERT INTO users (username, age) VALUES ('Charlie', 28);
- INSERT INTO users (username, age) VALUES ('David', 35);
- INSERT INTO users (username, age) VALUES ('Eva', 22);
- INSERT INTO users (username, age) VALUES ('Frank', 40);
- INSERT INTO users (username, age) VALUES ('Grace', 33);
- INSERT INTO users (username, age) VALUES ('Hannah', 29);
- INSERT INTO users (username, age) VALUES ('Iris', 27);
- INSERT INTO users (username, age) VALUES ('Jack', 32);
- INSERT INTO users (username, age) VALUES ('Kelly', 26);
- INSERT INTO users (username, age) VALUES ('Liam', 31);
- INSERT INTO users (username, age) VALUES ('Mia', 24);
- INSERT INTO users (username, age) VALUES ('Noah', 37);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement