mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Update sql.html.markdown
Capitalization on final instance of "LIKE" was inconsistent with the standard proposed at the beginning of the article
This commit is contained in:
parent
a597f00242
commit
f7b5f742b3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user