mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-14 02:34:17 +02: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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user