diff --git a/week-1/cli-query-scripts/example-2.js b/week-1/cli-query-scripts/example-2.js index 700847d..8e2f81e 100644 --- a/week-1/cli-query-scripts/example-2.js +++ b/week-1/cli-query-scripts/example-2.js @@ -14,7 +14,7 @@ const userInput = { // MIN, MAX, SUM, AVG, ... const queryString = ` SELECT ${userInput.keyword}(total) - FROM invoices;`; + FROM invoice`; db.all(queryString, (err, rows) => { if (err) {