3.1. As a sales agent, you have been tasked to write SQL query that searches the STOCKLIST_INFORMATION database for STOCK_ NAME values beginning with LP (LAPTOP) or CPU and their list prices. Remember that the laptop list price must be between R6000 and R9000, and the CPU speed must be either 5x2ghz or 5x3ghz. Sort the results in descending ITEM_PRICE order.  3.2. A political party agreed to present a handbag to every member of the party's women's league. Most of them want pink handbag. Several price quotes for pink purses were requested. The supplier information is not available from the normal source, but you know that the supplier identification number is embedded in the STOCK_ INFORMATION table's CATALOG URL field. You must get the STOCK_NAME and CATALOG URL values, as well as the supplier number from the CATALOG URL column, for all goods that have both the words PINK and HANDBAG contained in the STOCK_DESCRIPTION column. Hint: A typical CATALOG_URL entry looks as follows: www.supp102094.com/cat/hw/p1797.html. The supplier identification number is consistently six characters long and starts from the seventeenth character of the CATALOG_URL value.  3.1. You are required to obtain from PRODCT table a list of PRODUCT_ID, PRODUCT_NAME, and PURCHASE_DATE values for the goods that have been bought over 36 months between the purchase date and 01-MAR-2022.

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

3.1. As a sales agent, you have been tasked to write SQL query that searches the STOCKLIST_INFORMATION database for STOCK_ NAME values beginning with LP (LAPTOP) or CPU and their list prices. Remember that the laptop list price must be between R6000 and R9000, and the CPU speed must be either 5x2ghz or 5x3ghz. Sort the results in descending ITEM_PRICE order. 

3.2. A political party agreed to present a handbag to every member of the party's women's league. Most of them want pink handbag. Several price quotes for pink purses were requested. The supplier information is not available from the normal source, but you know that the supplier identification number is embedded in the STOCK_ INFORMATION table's CATALOG URL field. You must get the STOCK_NAME and CATALOG URL values, as well as the supplier number from the CATALOG URL column, for all goods that have both the words PINK and HANDBAG contained in the STOCK_DESCRIPTION column. Hint: A typical CATALOG_URL entry looks as follows: www.supp102094.com/cat/hw/p1797.html. The supplier identification number is consistently six characters long and starts from the seventeenth character of the CATALOG_URL value. 

3.1. You are required to obtain from PRODCT table a list of PRODUCT_ID, PRODUCT_NAME, and PURCHASE_DATE values for the goods that have been bought over 36 months between the purchase date and 01-MAR-2022. 

Expert Solution
steps

Step by step

Solved in 7 steps with 3 images

Blurred answer
Knowledge Booster
JQuery and Javascript
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
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