SQL cheat sheet
SQL cheat sheet
You can use various mathematical functions like -U user connect to Postgres with a
floor(), ceil(), round(). See the Postgres particular Postgres username
documentation for more. -f file run an SQL file (do queries or
load data)
|| string concatenation -E show extra information about psql
operations
String matching
string LIKE pattern -d database connect to a particular database