Which sports does john like and practice

Assignment Help Basic Computer Science
Reference no: EM134046480

Assignment:

Database Management System s Design- Relational Algebra

Consider the following database schema:

LIKE(person, sport), PRACTICE(person, sport),

Where person and sport are keys in both tables. The table LIKE gives the sports a person likes, the table PRACTICE gives the sports a person practices. We assume that a person likes at least one sport and practices at least one sport. We assume also that a person does not like a sport if the sport is not listed among the sports that person likes.

Express the following queries in relational algebra.

  1. List the people who like soccer.
  2. Among the people who like soccer which ones practice baseball
  3. Which sports does John like and practice?
  4. Which sports does John like but does not practice?
  5. Which sports does John practice but does not like?
  6. Which sports are liked by more than 2 people.
  7. List the people who practice all the sports they like.
  8. Which sports are practiced by all the people.

Reference no: EM134046480

Questions Cloud

Describe random corporate serial killer game : Describe Random Corporate Serial Killer game. Please include: What is the purpose of the game/exercise? How do you run the game/exercise?
Why instruction sequence stalls in scoreboard machine : Explain why your instruction sequence stalls in the Scoreboard machine, and how the Tomasulo machine avoids that stall [3].
How does electronic environment impact ones right to privacy : Privacy, as it relates to social media, video surveillance, drones, digital footprint or other topics as they relate to digital privacy.
What are https as a web server manager-as a web browser user : What are the pros and cons of using HTTPS as a web server manager and as a web browser user?
Which sports does john like and practice : Among the people who like soccer which ones practice baseball. Which sports does John like and practice?
What is the frequency magnitude response of such a system : Draw the block diagram (structure) of that system. What is the frequency magnitude response of such a system? Prove your answer.
Should be saved in a tuple called ingredients : The ingredients ("flour", "butter", "sugar", "eggs", "chocolate chips") should be saved in a tuple called "ingredients."
What the gaps were and how they could have beenovercome : Indicate what the gaps were and how they could have beenovercome, based on the process outlined here.
Find potential vendors offering the products you need : As part of your responsibilities, you will use the Internet to find potential vendors offering the products you need.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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