Transcript Document
Inclass Test Revision
Database Technology Level I
Lecture and Seminar Revision
Aims
To
Demonstrate
– Retrieving attributes from more than
one table
– Writing pure SQL in DDL and DML
– Writing SQL to populate forms
– Evaluating the user interface using
usability principles
SQL Section A
Tables here have names Student, ModuleRegistration and Module
Firstly determine how the
tables link.
SQL statements
Use
of CREATE statement
Use of SELECT statement
Use of aggregate functions (SUM,
COUNT, AVERAGE, etc)
Use of UPDATE columns
Use of DELETE rows of the database
Solutions to Revision SQL
Create
these tables in Seminars and
work out solutions with your tutors
Study data types and how they are
used in MS Access
Use appropriate SELECT, UPDATE,
DELETE etc commands to answer the
queries
Similar SQL will be asked in the test
Types of Questions
1.
2.
3.
4.
5.
6.
7.
Produce a list of all modules which have
students registered for them.
Produce a list of all students.
Produce a list of all students studying
M18013A
Find student ID of students registered on
September 4
How many courses does the university
have
Find any subject attended by a student
with a J in their forename
Remove any student who does the
History subject
Types of Questions
8.
9.
10.
11.
12.
13.
14.
Change the name a student called Emma Lucy to
Emma Champion.
What is the average number of attempted
registrations
What different types of subjects are available to
be studied grouped by “Other Subject”
Find Fornames of students registered on
September 5
Which students have attempted module with
code M1803A more than once?
Find any subject attended by a student with a J
in their forename
Create a new Table called “Tutor” that relates to
module table with tutor ID, Sname, Fname and
module they teach.
Types of Questions
Create the SQL to populate the following
form.
Usability Section B – sections
to read and other relevant ones
Read
Constatines Usability principles
Nielsen’s Usability rules
User Interface Design principles
Usability Section B
A
screen will be given and the
students will write a descriptive
analysis of usability principles and
color theory needed to redesign and
make the GUI a better design. They
will point out good and bad designs
and should quote or be familiar with
Lecture Notes theory provided on
principles and practices of usability
design
Next Week
In-class
Test in seminar session
after next week.
Bring your Books and or Notes.