Professional Documents
Culture Documents
Submit via the coursework post box in the Armstrong Siddeley Building ASG15
Section A - To be completed by the student – PLEASE PRINT CLEARLY
Family Name(s) ModuleNo.
Forename(s)
220CT
ID Number(s) (from your student card)
Time taken (hrs) (per student for group coursework)
Faculty Date Stamp
(or signature and date)
Lecturer Lab group / Tutorial group / Tutor (if applicable)
P. Woodfield
Module Code and Title Due date:
220ct Database System Concepts 14th March 2011
Assignment No. / Title Extensions & late submissions allowed:
PhoenixSoft Yes
Estimated Time (hrs) Assignment type: % of Module Mark Hand out date:
8 Individual/Group(maximum 3) 25 24th January 2011
Penalties: Marks will be reduced by 10% of the original mark for every week late. No work will be accepted that is more than two weeks late. If
you are unable to submit coursework on time due to extenuating circumstances you may be eligible for an extension. Full details on Faculty
coursework policy and procedures are available at http://www.coventry.ac.uk/swift/Open/Student/Regulations/06stcwproc.doc
Declaration: I/we the undersigned confirm that I/we have read and agree to abide by the University regulations on plagiarism and
cheating and Faculty coursework policies and procedures. I/we confirm that this piece of work is my/our own. I/we consent to
appropriate storage of our work for checking to ensure that there is no plagiarism/ academic cheating.
2. SQL Queries 50
3. Fragmentation Report 25
100
Extension Agreed until: Penalty Due: Penalty Final Mark
(Yes / No)
Programme Leader Signature:
Signed internal moderator: This work may have been moderated. You may find additional comments in the
work.
The schemas of the generated tables, with the primary keys underlined, are as follows:
Task
1. Create tables and insert all the data provided in Appendix A
(8 marks)
(Total: 20 marks)
2. Use SQL commands for the following queries. Produce the queries as well as the
query results.
a) List all skillsets that charge more than 60 pounds per hour, in alphabetical
order of description.
b) List all staff with the skillset description 'Analysis' who work in the 'Specials'
department.
(7 marks)
d) For all the projects that were active on '1 March 2010' (i.e. where the start
date is before this date and the end date is after this date), list the staff names,
departments, project numbers, date and number of hours, ordered by project
number and within that by staff name and within that name by date, for all
staff who worked on active projects.
(9 marks)
e) List the project numbers and total numbers of hours worked on, for projects
that were worked on for more than 16 hours?
(9 marks)
f) List the names and departments where the staff rate is greater than the
average staff rate (the average staff rate is the sum of all staff rates for all
different skillsets divided by the number of skillsets).
(14 marks)
(Total: 50 marks)
3. Write in your own words a brief report (about 700 words) to the users to
address their concerns about horizontal/vertical/mixed fragmentation of
relations. The report should cover issues such as performance, integrity,
privacy and security.
(25 marks)
SQL> ED
SQL>/
Appendix A
Project Start End Budget Manager Skill Description Staff Staff Staff Staff Date Hrs
on
1 01/01/10 15/06/10 £12,000 3000 A0000 Design £50 12123 Green Specials 01/01/10 8
1 01/01/10 15/06/10 £12,000 3000 B0000 Analysis £55 26254 Smith Finance 05/01/10 8
1 01/01/10 15/06/10 £12,000 3000 B0000 Analysis £55 8765 Johnson Sales 06/10/10 4
2 16/06/10 31/12/10 £15,500 3001 A0000 Design £50 12123 Green Specials 17/06/10 7
2 16/06/10 31/12/10 £15,500 3001 B0000 Analysis £55 8765 Johnson Sales 18/06/10 6
3 01/01/11 31/03/11 £34,000 3002 D0001 C++ £60 97865 Taylor Health 01/02/11 8
4 01/02/10 12/04/10 £12,500 3003 E0001 Visual Basic £65 923 Kurusawa None 16/02/10 8
4 01/02/10 12/04/10 £12,500 3003 F0001 Java £65 9567 Bashir Leisure 21/02/10 4
4 01/02/10 12/04/10 £12,500 3003 G0001 Smalltalk £70 8453 Lang Leisure 23/03/10 6
4 01/02/10 12/04/10 £12,500 3003 H0001 Assembler £75 8762 Patel Leisure 12/03/10 1
5 12/09/10 30/09/10 £500 3004 A0000 Design £50 12123 Green Specials 12/09/10 8
5 12/09/10 30/09/10 £500 3004 E0001 Visual Basic £65 923 Kurusawa None 13/09/10 3
6 11/11/10 01/12/10 £750 3003 B0000 Analysis £55 8765 Johnson Sales 15/11/10 4
6 11/11/10 01/12/10 £750 3003 A0000 Design £50 12123 Green Specials 30/11/10 5
6 11/11/10 01/12/10 £750 3003 D0001 C++ £60 97865 Taylor Health 16/11/10 8
6 11/11/10 01/12/10 £750 3003 M0001 Testing £90 23982 Chao Network 29/11/10 8
7 12/01/11 13/06/11 £16,000 3002 B0000 Analysis £55 8765 Johnson Sales 12/01/11 8
7 12/01/11 13/06/11 £16,000 3002 B0000 Analysis £55 9000 Johnson Media 13/01/11 8
7 12/01/11 13/06/11 £16,000 3002 B0000 Analysis £55 8765 Johnson Sales 14/01/11 8
7 12/01/11 13/06/11 £16,000 3002 A0000 Design £50 12123 Green Specials 15/01/11 8
7 12/01/11 13/06/11 £16,000 3002 M0001 Testing £90 23982 Chao Network 01/06/11 8
8 01/08/11 31/08/11 £1500 3001 B0000 Analysis £55 8765 Johnson Sales 01/08/11 5
9 05/04/10 30/04/10 £8,000 3000 B0000 Analysis £55 8765 Johnson Sales 05/04/10 8
9 05/04/10 30/04/10 £8,000 3000 A0000 Design £50 12123 Green Specials 12/04/10 8
9 05/04/10 30/04/10 £8,000 3000 M0001 Testing £90 23982 Chao Network 19/04/10 8
N/A N/A N/A N/A N/A P0001 Management £100 3000 Adam Projects N/A N/A
N/A N/A N/A N/A N/A P0001 Management £100 3001 Brent Projects N/A N/A
N/A N/A N/A N/A N/A P0001 Management £100 3002 Sadler Projects N/A N/A
N/A N/A N/A N/A N/A P0001 Management £100 3003 Wells Projects N/A N/A
N/A N/A N/A N/A N/A P0001 Management £100 3004 Riaz Projects N/A N/A
BLANK PAGE