subject

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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Aplan to budget time for studying and activities is referred to as a study routine. study habits. study skills. a study schedule.
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What is the penalty for violating section 1201 of title 17 chapter 21 of the us code
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
Suppose a router has built up the routing table shown in the table. subnet number 128.96.39.00 28.96.39.128 128.96.40.00 192.4.153.0 default) subnet mask 255.255.255.128 255.255.255.128 255.255.255.128 255.255.255.192 nexthop interface 0 interface 1 r2 r3 r4. the router can deliver packets directly over interfaces 0 and 1, or it can forward packets to routers r2, r3, or r4. describe what the router does with a packet addressed to each of the following destinations: (a) 128.96.39.10 (b) 128.96.40.12 (c) 128.96.40.151 (d) 192.4.153.17 (e) 192.4.153.90
Answers: 3
You know the right answer?
Sql query on multiple tables—join

1. display employee number, first name, middle name, l...
Questions
question
Biology, 07.12.2020 21:40
question
Mathematics, 07.12.2020 21:40
question
English, 07.12.2020 21:40
Questions on the website: 13722362