From 9bb77ddeeca1ef24ae9d44236e28a75d661861b6 Mon Sep 17 00:00:00 2001 From: bytesparallel Date: Mon, 21 Feb 2022 15:59:04 -0600 Subject: [PATCH] final commit for the day --- project_notes.md | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 project_notes.md diff --git a/project_notes.md b/project_notes.md deleted file mode 100644 index df61d6b..0000000 --- a/project_notes.md +++ /dev/null @@ -1,35 +0,0 @@ -# Project Notes - SQL Interlude - Chinook - -## Questions -### How to use NOT in queries -Why does - -``` -SELECT * FROM CUSTOMER -WHERE COUNTRY NOT LIKE 'USA'; -``` - -work and - -``` -SELECT * FROM CUSTOMER -WHERE COUNTRY NOT 'USA'; -``` -does not work? - -### Answer -To avoid using `LIKE`
- -`WHERE NOT customer.country = "USA";`
-or
-`WHERE NOT != "USA";`
- -are valid ways of forming the query. - -## Resources -[How to concatenate columns in SQL - CONCAT_WS()](https://www.w3schools.com/sql/func_mysql_concat_ws.asp) - -## New Concepts/Syntax - -SQLite
-`strftime('%Y', InvoiceDate` \ No newline at end of file