Concept Flow - psql command-line tool basics
Start psql tool
Connect to database
Display prompt: dbname=#
Enter SQL command or psql meta-command
Execute command
Show results or messages
Repeat or exit with \q
This flow shows how you start psql, connect to a database, enter commands, see results, and exit.