Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Professor. Dunn
10/4/17
Queries:
1. Select all players whose player number is 10 :
SELECT tblPlayers.PlayerName, tblPlayers.PlayerPositionID, tblPlayers.TeamID, tblPlayers.ContryID
FROM tblPlayers
WHERE (((tblPlayers.PlayerPositionID)=2002));

2. All players who play striking position:

SELECT tblPlayers.PlayerName, tblPlayers.PlayerPositionID, tblPlayers.TeamID, tblPlayers.ContryID
FROM tblPlayers
WHERE (((tblPlayers.PlayerPositionID)=2002));

3. All players who play defending position:
SELECT tblPlayers.PlayerName, tblPlayers.PlayerPositionID, tblPlayers.Weight
FROM tblPlayers
WHERE (((tblPlayers.PlayerPositionID)=1001));

4. Select players who have previously played for Manchester:

SELECT tblPlayers.PlayerName, tblPlayerHistory.PreviousTeams, tblPosition.PlayerPosition
FROM tblPosition INNER JOIN (tblPlayers INNER JOIN tblPlayerHistory ON tblPlayers.PlayerID = tblPlayerHistory.PlayerID) ON tblPosition.PlayerPositionID = tblPlayers.PlayerPositionID
WHERE (((tblPlayerHistory.PreviousTeams)="ManchesterUnited"));

5. Select all players who weigh below 80 kg:
SELECT tblPlayers.PlayerName, tblPosition.PlayerPosition, tblPlayerMarketValue.MarketValueAssessedID, tblPlayers.Weight
FROM (tblPosition INNER JOIN tblPlayers ON tblPosition.PlayerPositionID = tblPlayers.PlayerPositionID) INNER JOIN tblPlayerMarketValue ON tblPlayers.PlayerID = tblPlayerMarketValue.PlayerID
WHERE (((tblPlayers.Weight)<80));
6. Select all matches that took place before 9/30/2017:

SELECT tblMatches.MatchDate, tblTeams.TeamName, tblTeams_1.TeamName
FROM tblTeams_1 INNER JOIN (tblTeams INNER JOIN tblMatches ON tblTeams.TeamID = tblMatches.HomeTeamID) ON tblTeams_1.TeamID = tblMatches.VisitingTeamID
WHERE (((tblMatches.MatchDate)<#9/30/2017#));

7. Select all players from brazil:

SELECT tblPlayers.PlayerName, tblPlayers.DateOfBirth, tblCountry.CountryName, tblTeams.TeamName
FROM (tblCountry INNER JOIN tblPlayers ON tblCountry.CountryID = tblPlayers.ContryID) INNER JOIN tblTeams ON tblPlayers.TeamID = tblTeams.TeamID
WHERE (((tblCountry.CountryName)="Brazil"));

8. Players whose market value is greater than $700000:

SELECT tblPlayers.PlayerName, tblPlayers.DateOfBirth, tblMarketValue.MarketValue, tblTeams.TeamName, tblCountry.CountryName
FROM tblCountry INNER JOIN ((tblPlayers INNER JOIN (tblMarketValue INNER JOIN tblPlayerMarketValue ON tblMarketValue.MarketValueID = tblPlayerMarketValue.MarketValueID) ON tblPlayers.PlayerID = tblPlayerMarketValue.PlayerID) INNER JOIN tblTeams ON tblPlayers.TeamID = tblTeams.TeamID) ON tblCountry.CountryID = tblPlayers.ContryID
WHERE (((tblMarketValue.MarketValue)>700000));

9. Select all players from spain:

SELECT tblPlayers.PlayerName, tblPosition.PlayerPosition, tblPlayers.Weight, tblCountry.CountryName
FROM tblCountry INNER JOIN ((tblTeams INNER JOIN tblMatches ON tblTeams.TeamID = tblMatches.HomeTeamID) INNER JOIN (tblPosition INNER JOIN tblPlayers ON tblPosition.PlayerPositionID = tblPlayers.PlayerPositionID) ON tblTeams.TeamID = tblPlayers.TeamID) ON tblCountry.CountryID = tblPlayers.ContryID
WHERE (((tblPlayers.ContryID)=8));

10. Select all players whose player number is 3:
SELECT tblPlayers.PlayerName, tblPlayers.PlayerNumber, tblPlayers.PlayerID
FROM tblPlayers
WHERE (((tblPlayers.PlayerNumber)=3));

Attachment:- datdabse.rar

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92489042
  • Price:- $70

Priced at Now at $70, Verified Solution

Have any Question?


Related Questions in DBMS

Question talk about the importance of pulling data from

Question : Talk about the importance of pulling data from worksheets into a single sheet also the ways excel could be a solution to a complex challenge. The response must be typed, single spaced, must be in times new rom ...

Question we can sort a given set of n numbers by first

Question : We can sort a given set of n numbers by first building a binary search tree containing these numbers (using TREE-INSERT repeatedly to insert the numbers one by one) and then printing the numbers by an inorder ...

Assignment question - write and run sql statements to

Assignment Question - Write and run SQL statements to complete the following tasks Part A - DML 1. Locate the record in the vendor table that does not have a value for the attribute V_STATE 2. Find the customers whose ba ...

Question create the physical data model for the logical

Question: Create the physical data model for the logical data model that you submitted in IP3. This should include all of the data definition language SQL. Your submission should include all DDL needed to: Create the tab ...

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

Quesiton 1 what is data-manipulation language dml there are

Quesiton: 1. What is Data-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last ...

Assignmenta restaurant is designing a database to keep

Assignment A restaurant is designing a database to keep track of customer services. A customer is defined as a customer ID, name, address and a telephone number. Customers are served by employees. Each employee is define ...

The system development team at the xyz company is working

The system development team at the XYZ Company is working on developing a new customer order entry system. In the process of designing the new system, the team has identified the following data entity attributes: Invento ...

Real time analytics - data analytics assignment -this is a

Real Time Analytics - Data Analytics Assignment - This is a business analytics project aimed at generating innovative analytics solutions for a Global Food Consulting firm working in the area of Animal agriculture and fa ...

This assignment is a continuation of this solution the case

This assignment is a continuation of this solution The case study company has received the first report from its enterprise content management (ECM) consultant and now has a documented list of major content requirements ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As