Difference between revisions of "Apostrophe"

From SQLZOO
Jump to: navigation, search
 
Line 6: Line 6:
 
<source lang=sql class='tidy'></source>
 
<source lang=sql class='tidy'></source>
 
<source lang=sql class='setup'></source>
 
<source lang=sql class='setup'></source>
<source lang='sql' class='def e-oracle e-postgres e-mysql e-sqlserver'>SELECT * FROM cia
+
<source lang='sql' class='def e-oracle e-postgres e-mysql e-sqlserver'>SELECT * FROM bbc
 
WHERE name = 'Cote d''Ivoire'</source>
 
WHERE name = 'Cote d''Ivoire'</source>
<source lang='sql' class='def'>SELECT * FROM cia
+
<source lang='sql' class='def'>SELECT * FROM bbc
 
WHERE name = 'Cote d''Ivoire'</source>
 
WHERE name = 'Cote d''Ivoire'</source>
  

Latest revision as of 13:12, 12 July 2012

How to build a statement on a word with an Apostrophe such as WHERE name='Tom's Book'

schema:gisq
 
 
SELECT * FROM bbc
WHERE name = 'Cote d''Ivoire'
SELECT * FROM bbc
WHERE name = 'Cote d''Ivoire'
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense