N Niksta123 Member Joined Aug 24, 2005 Messages 117 Gender Female HSC 2007 Oct 15, 2007 #1 Can some one help me out on: How to construct an SQL command from the HSC IPT 2006 paper Qu 21 (A) thanks
Can some one help me out on: How to construct an SQL command from the HSC IPT 2006 paper Qu 21 (A) thanks
P peter19 New Member Joined Oct 15, 2007 Messages 4 Location Rose Bay Gender Male HSC 2010 Oct 15, 2007 #2 Niksta123 said: Can some one help me out on: How to construct an SQL command from the HSC IPT 2006 paper Qu 21 (A) thanks Click to expand... I know the answer to that question but im not going to tell you. Simply because im bitter and mean.
Niksta123 said: Can some one help me out on: How to construct an SQL command from the HSC IPT 2006 paper Qu 21 (A) thanks Click to expand... I know the answer to that question but im not going to tell you. Simply because im bitter and mean.
N Niksta123 Member Joined Aug 24, 2005 Messages 117 Gender Female HSC 2007 Oct 15, 2007 #3 I've had a go at it...can some1 tell me if this is correct or if not what is wrong with it.. SELECT CountryName FROM 'Countries' WHERE Continent = 'South America' AND Language = 'Spanish'
I've had a go at it...can some1 tell me if this is correct or if not what is wrong with it.. SELECT CountryName FROM 'Countries' WHERE Continent = 'South America' AND Language = 'Spanish'
J jwkhan New Member Joined Mar 7, 2007 Messages 12 Gender Undisclosed HSC N/A Oct 15, 2007 #4 hello... lol lemme have a look at the question
M MathsIsWeird Member Joined Sep 13, 2006 Messages 187 Gender Male HSC 2007 Oct 15, 2007 #5 Im pretty sure thats right Niksta, i did that paper about 6 months ago its about the only thing i can remember from IPT, but just wait for someone else to check because i lost the paper lol. Last edited: Oct 15, 2007
Im pretty sure thats right Niksta, i did that paper about 6 months ago its about the only thing i can remember from IPT, but just wait for someone else to check because i lost the paper lol.
Starcraftmazter Member Joined Aug 15, 2006 Messages 842 Location Sydney, NSW Gender Male HSC 2007 Oct 24, 2007 #6 Niksta123 said: SELECT CountryName FROM 'Countries' WHERE Continent = 'South America' AND Language = 'Spanish' Click to expand... Almost right, you don't need single quotes around the table countries, since it's an internal entity of the database. So would be like this: Code: SELECT CountryName FROM Countries WHERE Continent = 'South America' AND Language = 'Spanish'; Don't mind the semicolon, that's just how I do my mysql queries.
Niksta123 said: SELECT CountryName FROM 'Countries' WHERE Continent = 'South America' AND Language = 'Spanish' Click to expand... Almost right, you don't need single quotes around the table countries, since it's an internal entity of the database. So would be like this: Code: SELECT CountryName FROM Countries WHERE Continent = 'South America' AND Language = 'Spanish'; Don't mind the semicolon, that's just how I do my mysql queries.