summaryrefslogtreecommitdiffhomepage
path: root/sql.html.markdown
diff options
context:
space:
mode:
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;