• Best of luck to the class of 2025 for their HSC exams. You got this!
    Let us know your thoughts on the HSC exams here

SQL question (1 Viewer)

AcidKiss

New Member
Joined
Aug 5, 2002
Messages
3
Location
Sydney
When you're doing a query what do you put in " " thingos?
Is it only the name of the specific thing you're searching for?
 

ambartur_lui

Amicus humani generis
Joined
Aug 2, 2002
Messages
4
Location
Chatswood
Whatever is inside the inverted commas "___" is whatever you're searching for. It is your search criteria.
 

PiP

New Member
Joined
Aug 7, 2002
Messages
14
Location
Syd
Gender
Male
HSC
2002
e.g.

SELECT * FROM table WHERE FieldName = "blah"

something like that anyway heh
 

criminal

New Member
Joined
Aug 31, 2002
Messages
3
the double quote (") is non-standard and should not be used.

you should be using single quotes in your SQL query. eg:

INSERT INTO phonebook (id, name, number) VALUES (1, 'fred', 12345678);
 

Alex

Member
Joined
Jul 7, 2002
Messages
371
Location
Sutherland Shire
If there is one question I can guarantee to get wrong in the HSC, it's SQL. I had probably the funniest guess at the SQL statement in my trial. If you saw it you would probably all laugh at me :p
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top