summaryrefslogtreecommitdiffhomepage
path: root/sql.html.markdown
diff options
context:
space:
mode:
authorWISH, ETHEREAL <codename.c.wish@gmail.com>2023-07-18 14:45:29 -0400
committerGitHub <noreply@github.com>2023-07-18 14:45:29 -0400
commitf7b5f742b3abae10dda5d8df3f021960ea2e0eed (patch)
tree2908ad45f6f3e8d8896e084bf0a6d91b84355ead /sql.html.markdown
parenta597f002424d2d95c06b62b0c49d6bf152ea7f5b (diff)
Update sql.html.markdown
Capitalization on final instance of "LIKE" was inconsistent with the standard proposed at the beginning of the article
Diffstat (limited to 'sql.html.markdown')
-rw-r--r--sql.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql.html.markdown b/sql.html.markdown
index 685e522d..834cf00b 100644
--- a/sql.html.markdown
+++ b/sql.html.markdown
@@ -95,7 +95,7 @@ UPDATE tablename1 SET fname='John' WHERE lname='Mutt';
-- Delete rows from the tablename1 table
-- where the lname value begins with 'M'.
-DELETE FROM tablename1 WHERE lname like 'M%';
+DELETE FROM tablename1 WHERE lname LIKE 'M%';
-- Delete all rows from the tablename1 table, leaving the empty table.
DELETE FROM tablename1;