List the names of debaters won at least one contest

Assignment Help Database Management System
Reference no: EM131473500

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 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: EM131473500

Questions Cloud

How should the court rule on the universities claims : Louisiana State University, Ohio State University, the University of Oklahoma, and the University of Southern California have each adopted a two-color scheme.
Which of the given is type of business-to-business web site : Which of the following is a type of Business-to-business (B2B) Web site? Which of the following methods of financial transactions is considered the most secure?
Compute three different valuation ratios : Compute three different valuation ratios, three different profitability ratios, and three financial strength ratios for each of the three years. Compare the ratios over time.
Staffing operations in emerging markets : Discuss the challenges involved in staffing operations in emerging markets. Discuss the common causes of expatriate failure.
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 should the panel decide the given case : The well-known publication, The Economist, brought a UDRP action to gain control of the domain name www.theeconomist.com. The registrant of the domain name.
Apply elements of employee discipline to this arbitration : Apply the elements of employee discipline to this arbitration. Determine whether these elements are helpful in making the decision.
Compute different valuation ratios : Compute three different valuation ratios, three different profitability ratios, and three financial strength ratios for each of the three years.
What is your organizations value proposition : Choose an organization to analyze. This organization can be one you are personally familiar with, or one you have observed to be an effective organization.

Reviews

len1473500

4/25/2017 5:16:29 AM

Australian student, need it as per the guidelines. The correct algebra operations are used including the correct symbols for presentation. The algebra operations are used in the correct sequential order. The general structure of the statement is correct (i.e., the left part + I + the right part). The screen snapshot is attached which is consistent with the output of the SQL answer provided. 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.

Write a Review

Database Management System Questions & Answers

  Filter out the records unrelated to our database

Describe all the tables - get table_name, status, num_rows, user_stats in user_tables system vie

  How can i read serialized objects from a database

How can I read and write serialized objects to and from a database? Can a Vector or a Hashtable be serialized and deserialized?

  Develop the ipo chart, flowchart, and pseudocode for an app

You will need to develop the IPO Chart, flowchart, and pseudocode for an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed.

  What type of architecture does each dbms use

Determine each system's compliance with the functions that we would expect to be provided by a DBMS. What type of language does each system provide? What type of architecture does each DBMS use? Check the accessibility and extensibility of the sys..

  Describe three unique features of the pubmed database

Choose between Boolean operators and "limits" when conducting systematic reviews. Describe three unique features of the PubMed database.

  Prepare database design using the data definition

Prepare database design documents using the data definition, data manipulation, and data control language components of the SQL language.

  Explain how you would formulate an sql injection attack

Explain how you would formulate an SQL injection attack against an e-Commerce server such as Amazon

  Create a database with a table called "tblmenu".

The name of your Visual Studio project should be based on your last name. For example, if your last name is Jones, then assign the name, Barnes_IP2.

  List all bookings during june 2015

Management want to know the usage of the hotel based on floors. Write a query that will show how may bookings have been made for each floor.

  Show attributes and include relationship and connectivity

Show all attributes and include relationship and connectivity. Convert all M:N relationships into entities. You are to use Crow's Foot notation showing all attributes for each entity and naming each relationship. Do not show M:N relationship, convert..

  The principles of database design and management

Complete the 8- to 10-slide Microsoft® PowerPoint® presentation in which you explain the principles of database design and management. Include the following

  Display full details of all attributes in the author table

Display full details of all the attributes in the AUTHOR table. Display the last name and first name for all the authors in the AUTHOR table and sort all records by last name order ascending.

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