Write The SQL command for the given question 1. Find the list of the orders where the price of the order is more than the average price of orders stored in order table. 2. List the orders that have maximum and minimum no of titles. 3. Display authors' name who have published from 5 different publishing houses and have published more than 5 types of titles. 4.Display the institute wise name of the non- Bangladeshi employees who are working for Bangladeshi institute for 5 years.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Do fast fast
Write The SQL command for the given question
1. Find the list of the orders where the price of
the order is more than the average price of
orders stored in order table.
2. List the orders that have maximum and
minimum no of titles.
3. Display authors' name who have published
from 5 different publishing houses and have
published
more than 5 types of titles.
4.Display the institute wise name of the non-
Bangladeshi employees who are working for
Bangladeshi
institute for 5 years.
PUBS Database:
1. tblPUBLISHER(pub_id, pub_name, city, state, zip, country)
2. tblAUTHOR(au_id, au_Iname, au_fname, phone, address, city, state,
zip, country)
3. tblTITLEAUTHOR(au_id, title_id, au_order, royalityshare)
4. tblTITLES(title_id, title_name, type, pub_id, price, advance, royalty,
ytd_sales, notes, pub_date)
5. tblSALE(stor_id, order_num, title_id, ord_date, quantity, payment_term)
6. tblSTORE(stor_id, stor_name, address, city, state, zip, country)
7. tblEMPLOYEE(emp_id, fname, Iname, stor_id, job_id, pub_id, hire_date,
job_lvl, city, salary, state, country)
8. tblJOB(job_id, min_lvl, max_lvl)
9. tblCOUNTRY(country, continent)
Transcribed Image Text:Write The SQL command for the given question 1. Find the list of the orders where the price of the order is more than the average price of orders stored in order table. 2. List the orders that have maximum and minimum no of titles. 3. Display authors' name who have published from 5 different publishing houses and have published more than 5 types of titles. 4.Display the institute wise name of the non- Bangladeshi employees who are working for Bangladeshi institute for 5 years. PUBS Database: 1. tblPUBLISHER(pub_id, pub_name, city, state, zip, country) 2. tblAUTHOR(au_id, au_Iname, au_fname, phone, address, city, state, zip, country) 3. tblTITLEAUTHOR(au_id, title_id, au_order, royalityshare) 4. tblTITLES(title_id, title_name, type, pub_id, price, advance, royalty, ytd_sales, notes, pub_date) 5. tblSALE(stor_id, order_num, title_id, ord_date, quantity, payment_term) 6. tblSTORE(stor_id, stor_name, address, city, state, zip, country) 7. tblEMPLOYEE(emp_id, fname, Iname, stor_id, job_id, pub_id, hire_date, job_lvl, city, salary, state, country) 8. tblJOB(job_id, min_lvl, max_lvl) 9. tblCOUNTRY(country, continent)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY