Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask PL-SQL Expert

problem: Let consider the given tables:

Works (Pname, Cname, Salary)
Lives (Pname, Street, City)
Locatedin (Cname, City)
Manager (Pname, Mgrname)
Where Pname = Person name, Cname = Company name, Mgrname = Manager name

prepare down 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) List all the names of people, all along with the streets and city addresses, who work for the company "Infosys" with salary greater than Rs. 50000.

C) List all the names of persons who live and work in the similar city.

D) List all the names of person who don’t work for ‘Infosys’.

E) List all the persons whose salaries are greater than that of the entire Oracle employee.

F) List all the names of companies which are situated in every city where the company ‘Infosys’ is situated.

PL-SQL, Programming

  • Category:- PL-SQL
  • Reference No.:- M911087

Have any Question? 


Related Questions in PL-SQL

Structured query language sqlrefer to the database design

Structured Query Language (SQL) Refer to the database design crested in Lab 2: Modifying a Database Design to complete this Lab. Perform the following steps in MySQL: 1. Create the tables and relationships from the datab ...

Assignmentwrite sql queries for the books database

Assignment Write SQL queries for the books database (discussed in Section 18.3) that perform each of the following tasks: a) Select all authors from the Authors table with the columns in the order lastName, firstName and ...

Assignmentthe following data model is designed to hold

Assignment The following data model is designed to hold information relating to Students, Student Courses and Tutors who deal with these students. For this scenario we need to define the following facts: The Entities req ...

Movie theater database sql commandswrite the sql data

Movie Theater Database: SQL Commands Write the SQL Data Definition Language (DDL) commands to create the movie theater database based upon the below Entity Relationship Model (ERM). Be sure to include commands to create ...

Writing sql statements1 for each movie category show the

Writing SQL statements. 1. For each movie category, show the number of movies in the database of that category, the total number (sum) of nominations (NOMS) and the average length of that type. Include only those categor ...

Consider a typical sales invoice that would include the

Consider a typical sales invoice that would include the following information. Design a single table to hold all of the information required to store an invoice including this information. Next, apply normalization to re ...

Lab structured query language sqlrefer to the database

Lab: Structured Query Language (SQL) Refer to the database design crested in Lab 2: Modifying a Database Design to complete this Lab. Perform the following steps in MySQL: 1. Create the tables and relationships from the ...

Projectcomplete the following queries using hr schema

Project Complete the following queries using HR Schema. Submit your answer in the form of a SQL text file to the Final Project Dropbox. 1. Show first name, last name, start date and end date for all employees. The dates ...

Question 1 create a package deptpkg with the followinga a

Question : 1. Create a package, DEPT_PKG, with the following: a) A public procedure called NEW_DEPT to enter a new department row into the DEPARTMENTS table. The procedure should accept four parameters - one for each col ...

Write the sql select statement to display the average rent

Write the SQL SELECT statement to display the average rent of the properties. Use the following PROPERTY table to answer the question: PropertyID Type Rooms Rent 306 Apt 3 550 308 House 6 1000 325 Apt 4 625 397 Apt 3 550 ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen