Create the following tables Table 1 (CLIENT_MASTER) Table II (SALE_ORDER) 1. 2. 3. Client No C00001 C00002 C00003 C00004 C00005 C00006 4. 5. Order No 019001 019002 046865 019003 046866 019008 Write SQL commands for the following: Order Date 12-Jan-13 25-Jan-13 18-Feb-13 03-Apr-13 20-May-13 24-May-13 Name SMITHA JAIN VANDANA RAO PREM PUJARI BASU NATH RAVI SHANKAR ROOPA Data for Client_Master Client No C00001 C00002 C00003 C00001 C00004 C00005 City Mumbai Chennai Mumbai Mumbai Delhi Mumbai Data for Sale Order Salesman No 500001 S00002 S00003 S00001 S00002 S00004 Pincode 400054 780001 400057 400056 100001 400050 Dely_Date 20-Jan-13 27-Jan-13 20-Feb-13 07-Apr-13 07-Apr-13 26-May-13 Bal due 15000 0 5000 0 2000 0 Order_Status In process Cancelled Fulfilled Fulfilled Cancelled In process List all details from the client_master table for clients whose Bal_due = 0. Update table client_master, Change city of Client_no C00004 to Jaipur. Retrieve records of clients residing in Mumbai. Find the name and address of customer who has placed Order_no '019003' and 'O19002' respectively. List the client_no, name, city and pincode of clients whose Order_status is "In process".
Create the following tables Table 1 (CLIENT_MASTER) Table II (SALE_ORDER) 1. 2. 3. Client No C00001 C00002 C00003 C00004 C00005 C00006 4. 5. Order No 019001 019002 046865 019003 046866 019008 Write SQL commands for the following: Order Date 12-Jan-13 25-Jan-13 18-Feb-13 03-Apr-13 20-May-13 24-May-13 Name SMITHA JAIN VANDANA RAO PREM PUJARI BASU NATH RAVI SHANKAR ROOPA Data for Client_Master Client No C00001 C00002 C00003 C00001 C00004 C00005 City Mumbai Chennai Mumbai Mumbai Delhi Mumbai Data for Sale Order Salesman No 500001 S00002 S00003 S00001 S00002 S00004 Pincode 400054 780001 400057 400056 100001 400050 Dely_Date 20-Jan-13 27-Jan-13 20-Feb-13 07-Apr-13 07-Apr-13 26-May-13 Bal due 15000 0 5000 0 2000 0 Order_Status In process Cancelled Fulfilled Fulfilled Cancelled In process List all details from the client_master table for clients whose Bal_due = 0. Update table client_master, Change city of Client_no C00004 to Jaipur. Retrieve records of clients residing in Mumbai. Find the name and address of customer who has placed Order_no '019003' and 'O19002' respectively. List the client_no, name, city and pincode of clients whose Order_status is "In process".
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 8 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education