



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Ollscoil na hÉireann, Gaillimh GX_____ National University of Ireland, Galway Semester 1 Examinations, 2010/20 11 Exam Code(s) 1MIS 1MIS 1AE Exam(s) M.Sc. in Information Systems Management (Full-Time) M.Sc. in Information Systems Management (Part-Time) MBS in Electronic Commerce Module(s) MS805 Database Systems External Examiner(s) Dr. Danail Ivanov Internal Examiner(s) Dr. Tom Acton Dr. Michael Lang Instructions Answer all questions. Duration 2! hours FOR INFORMATION OF EXAMINATIONS OFFICE ONLY Paper No. 1 of 1 Repeat Paper N/A Special Paper N/A No. of Answer Books N/A Requirements Handout Spare copy of diagram on last page of this examination paper MCQ None Statistical Tables None Graph Paper None Log Graph Paper None Other Material None No. of Pages 7 (including this cover sheet) Discipline Business Information Systems (ext. 5064)
Candidates are strongly advised to attempt all parts of all questions. The “suggested times” are proportionate to marks available and for guidance purposes only. Question 1. (a) Explain, using examples, some common causes of spreadsheet data integrity errors. (5 marks) (Suggested time: 7 minutes) (b) Explain what is meant by a “recursive one-to-many relationship”, and show how such a relationship might be implemented in a relational database. Your answer should include a definition, an example, a diagram, and sample SQL code from the CREATE TABLE statement. (8 marks) (Suggested time: 12 minutes) (c) Explain what is meant by the concept of “referential integrity” in a relational database. ( 7 marks) (Suggested time: 10 minutes) (d) Briefly explain how ROLLBACK and COMMIT statements are used to ensure the integrity of transaction management in relational databases. ( 5 marks) (Suggested time: 7 minutes)
Question 3. Structured Query Language (SQL). Given the tables and relationships depicted in the schema below, you are required to provide the SQL commands necessary to execute the transactions (a) to (l) which follow. Notes:
Students are strongly advised to attempt all parts of this question. For incomplete or incorrect attempts, a proportion of marks will be awarded where the logic and/or syntax is partly correct. a) Name the winner ( CLUB_NAME ) of the German Bundesliga ( COMP_NAME ) in the 2008/2009 season. (2 marks) b) List the club name, nickname, stadium name and stadium capacity of all clubs based in Portugal ( COUNTRY ). (2 marks) c) What is the club name, country, home ground stadium name, and year of establishment ( YR_EST ) of the club whose nickname is “The Magpies”. (3 marks) d) List the full names ( FNAME, LNAME ) and date of birth ( DOB ) of all players from Ireland ( NATIONALITY ) who have ever made an appearance for AC Milan ( CLUB_NAME ). No player should be listed more than once i.e. eliminate duplicates. (3 marks) e) List the competition name, date and match result (i.e. home team name, home team score, away team name, away team score) of all matches in which Glasgow Celtic played Real Madrid at home (i.e. the home team name is Glasgow Celtic), sorted in ascending order of date. (4 marks) f) How many away wins did Sligo Rovers ( CLUB_NAME ) achieve in the Irish Premier League ( COMP_NAME ) in the 2008/2009 season? An away win is defined as a match where the away team scored more goals than the home team i.e. AWAY_SCORE is greater than HOME_SCORE. (4 marks) g) In the English Premiership ( COMP_NAME ) in the 2006/2007 season, how many goals were scored in the 85 th minute ( TIME_OF_GOAL ) or later? (4 marks)