List the names of debaters won at least one contest

Assignment Help Database Management System
Reference no: EM131458393

Database Systems Assignment

Relational Query Languages

Answer the following questions in a word processing document, export the document as a PDF file, and submit via the course web site. For mathematical symbols you can normally use the "Symbols" font that is available in your word processor. If you are unable to create a join (??) symbol, you may simulate it as |><|.

It is recommended (but not required) that you test your SQL answers using a relational database. Such tests may help you find the correct answers. Contest(starter, ender, pointsStarter, pointsEnder, debatedate) Debater(name, club, age)

The relational schema shown in Figure 1 models a very simple database for a Debating club. In a debating contest, one debater starts and is followed by his opponent who ends the contest. Debaters are both given points by an independent jury. The debater with the most points wins; draws are possible. It is assumed that not all the debaters in Debater relation participate the contest.

The following two Foreign Keys exist in the schema:

FK Contest(starter) references Debater(name)

FK Contest(ender) references Debater(name)

For the relational schema shown in Figure 1, answer the following four questions. Please use (A) the Relational Algebra, (B) the Domain Relational Calculus, and (C) SQL for Question (a) and use only SQL for Question (b), (c) and (d).

For all the questions in this assignment, please include screen snapshots of the query results you obtain from XAMPP MySQL. This is important for demonstrating your ability in running your queries on a real-life database platform. We accept query results from other relational database platforms as well. Note that a large portion of marks (ranging from 33% to 50%) will be deducted if the snapshots are missing in your answers.

A test dataset is provided which can be downloaded under the instruction of the assignment on the Studydesk. Please kindly note that all the students should only use this test dataset for testing their SQL answers and preparing the screen snapshots. Other test dataset is NOT allowed and you may lose some significant marks ranging from 33% to 50% if you do so.

(a) Give all contest details of contests where the starting debater is a member of the "Plato" club and prevented his opponent from scoring any points.

(b) List the names of debaters won at least one contest.

(c) List the names of debaters who participated the contest but have not won a contest.

(d) Give the name and age of all debaters who have lost exactly one debate as a starter.

For Question(c), please try to avoid the use of EXCEPT when calculating the difference between 2 sets as it is not supported by XAMPP MySQL. You can consider using other alternative ways such as NOT IN to answer this question.

Attachment:- Assignment Files.rar

Reference no: EM131458393

Questions Cloud

Corporate bond has an annual coupon payment : A 10-year corporate bond has an annual coupon payment of 9 percent. The bond is currently selling at par ($1,000).
Discuss about the investigate contraband and violence : If I were put in a position to develop a program to investigate contraband and violence in prisons, my pool of applicants would be new ones.
Blank report versus the report wizard : Let's go back in to the creation of reports. When should you use a Blank Report versus the Report Wizard?
What is the one-day rate of return on the index : A benchmark market value index is comprised of three stocks. Yesterday the three stocks were priced at $10, $18, and $40. The number of outstanding shares.
List the names of debaters won at least one contest : CSC3400 & CSC8500 - Database Systems Assignment. List the names of debaters who participated the contest but have not won a contest
How to prepare your favorite three-dish meal : How to prepare your favorite three-dish meal? Change the font and font size of the Title Only slides using the Slide Master.
Regarding sample size when using monetary-unit sampling : Regarding sample size when using Monetary-Unit Sampling (MUS),
Correct regarding classical variables sampling : Which of the following is correct regarding classical variables sampling?
Financial analysts forecast limited brands growth for future : Financial analysts forecast Limited Brands (LTD) growth for the future to be 13 percent.

Reviews

len1458393

4/11/2017 4:48:31 AM

Australian student, need it as per the guidelines. Answer the following questions in a word processing document, export the document as a PDF file, and submit via the course web site. For mathematical symbols you can normally use the “Symbols” font that is available in your word processor. Note: You may produce different possible solutions to the SQL questions, which is fine. We will mainly evaluate the correctness of your queries. Your SQL answers cannot be hardcoded, meaning that your answers should be general enough to deal with other possible data in the test tables used. Note that, the keyword EXCEPT and INTERCEPT are not recognized in MySQL, so do not feel surprised if you find these keywords does not work in MySQL. I will recognize these keywords in my marking though.

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd