Skip to content

Instantly share code, notes, and snippets.

@aizkhaj
Created March 17, 2018 10:06
Show Gist options
  • Save aizkhaj/460fa387ac5c1b23537ad7199b86c3e8 to your computer and use it in GitHub Desktop.
Save aizkhaj/460fa387ac5c1b23537ad7199b86c3e8 to your computer and use it in GitHub Desktop.
Here's what using psql on a newly created db called library with the following SQL statement returns:
library=# SELECT * FROM books;
id | title | author
------+------------------------------------------+---------------------
1259 | Eloquent Ruby | Russell A. Olson
1593 | JavaScript: The Good Parts | Douglas Crockford
8982 | Designing Object-Oriented Software | Rebecca Wirfs-Brock
7265 | Practical Object-Oriented Design in Ruby | Sandi Metz
(4 rows)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment