Skip to content

Instantly share code, notes, and snippets.

@collinprather
Created March 14, 2020 21:58
Show Gist options
  • Save collinprather/82275da5c6fe0a5d78439d603278f7fd to your computer and use it in GitHub Desktop.
Save collinprather/82275da5c6fe0a5d78439d603278f7fd to your computer and use it in GitHub Desktop.
$ docker exec -it postgres psql -U <username> -d streamlit_db
psql (12.2 (Debian 12.2-2.pgdg100+1))
Type "help" for help.
streamlit_db=# select RM, LSTAT, PRICE
streamlit_db-# from boston
streamlit_db-# where RM > 7
streamlit_db-# limit 2;
rm | lstat | price
-------+-------+-------
7.185 | 4.03 | 34.7
7.147 | 5.33 | 36.2
(2 rows)
streamlit_db=#\q
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment