psql
psql is the main tool for interacting with Postgres.
Manually
jao@mintyzack ~ $ psql jao
Pager usage is off.
psql (9.5.10)
Type "help" for help.
jao=# create table t(x int);
CREATE TABLE
jao=# insert into t values(1), (2), (3);
INSERT 0 3
jao=# select * from t;
x
---
1
2
3
(3 rows)
|