This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lauras-MBP:~ laurameehan$ createdb -U laurameehan -w library | |
Lauras-MBP:~ laurameehan$ psql -f /Users/laurameehan/BLOC/computer-science-fundamentals/databases-and-sql/library-data.sql library laurameehan | |
CREATE TABLE | |
INSERT 0 4 | |
Lauras-MBP:~ laurameehan$ psql library laurameehan | |
psql (11.1) | |
Type "help" for help. | |
library=# SELECT * FROM books; | |
id | title | author |