• Best of luck to the class of 2024 for their HSC exams. You got this!
    Let us know your thoughts on the HSC exams here
  • YOU can help the next generation of students in the community!
    Share your trial papers and notes on our Notes & Resources page
MedVision ad

Database Queries! (1 Viewer)

fatmuscle

Active Member
Joined
Jul 6, 2002
Messages
3,707
Location
Hornsby
Gender
Male
HSC
2001
yes?

What about database queries?

do you need help or would like to offer help?
 

ari89

MOSSAD Deputy Director
Joined
May 30, 2005
Messages
2,618
Location
London
Gender
Undisclosed
HSC
N/A
Structure Query Language

SELECT <fields>
FROM <table>
WHERE criteria eg name='da vinci'
ORDER BY order eg ascending
 

JoAn.T

New Member
Joined
Feb 20, 2006
Messages
15
Location
in the Sydney metropolitan area
Gender
Female
HSC
2007
SQL... argh... I'm having a pract exam without computers nxt weeek on database... and apparantly one of the thingios we'll be tested is wirting a SQL.

How come the SQL you guys use are so simple compared to the SQL provided and created with microsoft access?

Thanks for the hint with the simple SQL though! Greatly appreciated!
 

Lwaxana

Betazed Ambassador
Joined
Oct 16, 2002
Messages
430
Location
in a galaxy far far away
Gender
Female
HSC
N/A
The examples you have been given are in the format the examiners will expect in the HSC - the syllabus doesnt say anything about teaching Access, or Word or Excel for that matter ( just those forms of software) and so you can not be expected to answer in the same syntax as Access.
Just remember
Structured Queried Language (SQL) is a query language used to access and manage data in a relational database.

SELECT field eg LastName
FROM table eg Customer
WHERE criteria eg LastName = “Smith”
ORDER BY display eg LastName DESC

Ascending order is default ie. if not stated use ascending
Fields are separated by commas
Entity and its attribute separated by full stop
Search criteria enclosed in double quotes
 

Lwaxana

Betazed Ambassador
Joined
Oct 16, 2002
Messages
430
Location
in a galaxy far far away
Gender
Female
HSC
N/A
Many thanks

its always helpful to see how the topic is handled at Uni level
so I can atleast introduce terms at HSC levels

any thing else you have to share with a poor old teacher ??

:)
 

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

Top