[Tut/Lab Sessions Schedule]   [Lab Session 4] [Course Information]   [COMP2400/6240 Home]
Coloured Line

Exercise 4

Coloured Line

Coloured Line

Submission Details

Exercise 4 is to be submitted in Week 8.

The command to use (on a unix command line) is:

submit comp2400 ex4 qmax.sql

OR

submit comp6240 ex4 qmax.sql

(depending upon which course you are enrolled in).

If you have trouble submitting your file , ask your tutor for assistance during your Lab Session in Week 8.

Note:  The  submit  command will work only when submissions for  ex4  are enabled.

[Top]

Coloured Line

How to Do Exercise 4

Your task for this Exercise is to create a query using the sql function  max. Your query will run aginst tables in the SQL, Bugs, and Rock 'n' Roll Database

  1. Copy and save the supplied code as  qmax.sql  in an appropriate folder in your student home directory.

  2. Update your  qmax.sql  by replacing each  <description>  with appropriate text.

    Do not put any other commands in your  qmax.sql  file.
    Do not put any other comments in your  qmax.sql  file.

  3. After making sure that you are in the correct directory, test your  qmax.sql  by starting it at an SQL prompt.

  4. Submit your updated copy of  qmax.sql  (see above).


[Top]

Coloured Line

Carol Edmondson   <carol@cs.anu.edu.au>
URL: http://computer/student/comp2400.2006/assessment/ca/exercises/ex4/index.shtml
Last modified: Saturday, 30-Sep-2006 20:46:57 EST