Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

problem: Let consider the given tables:

WORKS (Pname, Cname, salary)
LIVES (Pname, Street, City)
LOCATED (Cname,City)
MANAGER (Pname, Mname)

prepare down a query in the SQL for the given:

a) List all the names of people who work for the company Wipro all along with the cities they live in.

b) Find out the people who work for the company ‘Infosys’ having salary more than Rs. 50000/-.

c) List all the names of people, all along with the street and city addresses.

d) Find out the persons whose salaries are more than that of all of the ‘oracle’ employees.

e) Find out the name of the persons who don’t work in ‘infosys’.

f) Find out the average salary of the employee in company named ‘accenture’.

g) Make a table for the above relations by using SQL-DDL

h) Make a view comprising of the person name all along with their manager name and company name.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M911860

Have any Question? 


Related Questions in DBMS

Database design and use group assignmentassignment

Database Design and Use Group Assignment Assignment Description - In this assignment you will use your normalized "City Jail" database you have created in your assignment one. You will form a group (2-3 students) and imp ...

Application creating and populating a databasesuppose you

Application: Creating and Populating a Database Suppose you have a small retail store and decide to create a database to track sales. You have information about recent sales that you want to use for testing the database. ...

Data base 1 hypertensionobjective to determine whether or

Data Base 1: Hypertension Objective: To determine whether or not the community self-management program is effective to promote health and reduce blood pressure level in patients with hypertension Rationale In low-to-midd ...

Questionwrite a 2 to 3 page essay describing the use of an

Question: Write a 2 to 3 page essay describing the use of an OLAP Data Cube. Your essay should also describe the operations of Drill Down, Roll Up, Slice, and Dice. Video: What is Business Intelligence and an OLAP Cube? ...

Systems and database design assignment database design amp

Systems and Database Design Assignment: Database Design & Implementation (Airline) The assignment consists of two tasks. The first task, Database Design, requires a word processed document in PDF format detailing the des ...

The purpose of the veterinary hospital registration system

The purpose of the Veterinary Hospital Registration system is to handle and record all the information relating to the clients, veterinarians, pets, treatments administered, insurance coverage and appointments (open, clo ...

Database management systems assignment-overview-for this

Database Management Systems Assignment- Overview- For this assignment you will implement and query a database from a supplied ER Diagram and Schema.  You will be required to write the SQL statements to create the databas ...

Database design and implementationtask 1 - database

Database Design and Implementation Task 1 - Database Design Your first task is to design a database for the scenario detailed on the following pages. Your final database design should comprise of approximately 10 entitie ...

Database design and development assignmentintroduction -

Database Design and Development Assignment Introduction - The sample solution of assignment 1 will be released on the course website approximately two (2) weeks after the assignment 1 due date.  You must use that sample ...

Database relationsusing the invoice table structure shown

Database Relations Using the INVOICE table structure shown in Table, do the following: ATTRIBUTE NAME SAMPLE VALUE SAMPLE VALUE SAMPLE VALUE SAMPLE VALUE SAMPLE VALUE INV_NUM 211347 211347 211347 211348 211349 PROD_NUM A ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate