Computers and Technology

Sql query on multiple tables—join

1. display employee number, first name, middle name, last name and the job description for all the employees. the order of columns for the display must be the same as it is provided in the previous sentence. you will join msc_employee and msc_job tables.

2. write and execute a select statement that will return the customer’s name, city, salesman’s number assigned to customer, and the assigned salesman’s last name for customers located in the state of new york.

3. display data from the msc_product_detail table by performing a three table join with the msc_product_detail, msc_product_master and msc_vendor tables. the select statement will display product number, product description, sale price, vendor name and quantity in stock … and only for product details that have quantity in stock less than 400. in addition, the result needs to be sorted by ascending value of quantity in stock.

4. write a select statement that will display customer number, customer name and the number of orders belong to the customer whose state is pennsylvania.. you will need to join two tables, use a count aggregate and a group by clause in your select statement. override labels with a more descriptive but brief label.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 16:30, ahmedislife
Select the correct answer. larry finds it easy to run legacy programs and applications in a virtualized environment. how does the virtualization provider make this possible? a. combines workloads of several underutilized servers to fewer machines b. installs and runs different versions of an operating system on the same computing device c. moves virtual machines from one server to another server at a different location d. streamlines and automates management tasks
Answers: 1
image
Computers and Technology, 25.06.2019 09:30, cheesecake1919
Evaluate the following code segment. what is the value of count after execution? int count = 1; for(int outer = 0; outer < 4; outer++) for(int inner = 1; inner < 3; inner++) count++; 1 3 9 12 13
Answers: 1
image
Computers and Technology, 25.06.2019 15:40, gd9075
Provide the format and assembly language instruction for the following hex values: address 1000: 13 address 1001: 01 address 1002: 81 address 1003: fe
Answers: 2
image
Computers and Technology, 25.06.2019 16:00, Marliii363782
When entering new data into your table, which key should you press to move from one field or cell to the next?
Answers: 1
Do you know the correct answer?
Sql query on multiple tables—join

1. display employee number, first name, middle name, l...

Questions in other subjects:

Konu
Mathematics, 25.03.2021 03:40
Konu
Mathematics, 25.03.2021 03:40
Konu
Arts, 25.03.2021 03:40