Skip to content

Commit

Permalink
Merge pull request cheat#32 from mukund109/patch-1
Browse files Browse the repository at this point in the history
Minor typo in sqlite3 cheatsheet
  • Loading branch information
chrisallenlane authored Aug 23, 2020
2 parents 4ee5882 + 1182200 commit 43b9b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite3
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sqlite3 <database> ".schema 'os'"
sqlite3 <database> "select * from 'os';"

# to view records in table conditionally:
sqlite <database> "select * from 'os' where year='1991';"
sqlite3 <database> "select * from 'os' where year='1991';"

# to view records with fuzzy matching:
sqlite3 <database> "select * from 'os' where year like '19%';"

0 comments on commit 43b9b66

Please sign in to comment.