a. Insert a new field email after TelephoneNo at the table Customers. b. Drop the field email that you have created at (a). C. Get the customer's name who has bought the furniture "Bedroom Set". d. Get the customer's name that has bought exceeding RM1000.00. e. Get the number of customers who have registered for NAZ Furniture Database System. f. Insert the following data into the table Furnitures. FurnitureID=B002 ItemName Shoe Rack Design A Price = 89.90 FurnitureID=B003 ItemName=Shoe Rack Design B Price = 99.90 g. Get the customers name who have bought furniture that dealt with Intan Amira.

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
icon
Related questions
icon
Concept explainers
Question
a. Insert a new field email after TelephoneNo at the table Customers.
b. Drop the field email that you have created at (a).
C. Get the customer's name who has bought the furniture "Bedroom Set".
d. Get the customer's name that has bought exceeding RM1000.00.
e. Get the number of customers who have registered for NAZ Furniture Database System.
f. Insert the following data into the table Furnitures.
FurnitureID=B002
ItemName = Shoe Rack Design A
Price = 89.90
FurnitureID=B003
ItemName = Shoe Rack Design B
Price = 99.90
g. Get the customers name who have bought furniture that dealt with Intan Amira.
h. Update "Wardrobe" to "Italian Wardrobe" at the table Furniture.
Transcribed Image Text:a. Insert a new field email after TelephoneNo at the table Customers. b. Drop the field email that you have created at (a). C. Get the customer's name who has bought the furniture "Bedroom Set". d. Get the customer's name that has bought exceeding RM1000.00. e. Get the number of customers who have registered for NAZ Furniture Database System. f. Insert the following data into the table Furnitures. FurnitureID=B002 ItemName = Shoe Rack Design A Price = 89.90 FurnitureID=B003 ItemName = Shoe Rack Design B Price = 99.90 g. Get the customers name who have bought furniture that dealt with Intan Amira. h. Update "Wardrobe" to "Italian Wardrobe" at the table Furniture.
2. The following is relationship tables of database for the NAZ Furniture Database System.
Using the Structured Query Language (SQL), write the commands for each of the following
problems.
Customers
Buys
Buyl
D
1
2
Furnitures
CustID
P001
P011
P022
CustID
Staffs
P001
P011
FurnitureID
B001
B111
B101
StaffID
S01
S02
Furniturel
D
B001
B111
CustName
Abdul Salam
Siva Prakash
Tan Leong Tai
Staffl
D
Wardrobe
Bedroom Set
Dining Table
S01
S01
ItemName
Date
1/11/2022
2/11/2022
StaffName
Intan Amira
Husna Aisyah
TelephoneNo
0101234567
0111112304
0117823433
Quantity
799.00
1
1
1999.00
3000.00
Price
Payment
Method
cash
cash
TelephoneNo
012222222
101111111
Transcribed Image Text:2. The following is relationship tables of database for the NAZ Furniture Database System. Using the Structured Query Language (SQL), write the commands for each of the following problems. Customers Buys Buyl D 1 2 Furnitures CustID P001 P011 P022 CustID Staffs P001 P011 FurnitureID B001 B111 B101 StaffID S01 S02 Furniturel D B001 B111 CustName Abdul Salam Siva Prakash Tan Leong Tai Staffl D Wardrobe Bedroom Set Dining Table S01 S01 ItemName Date 1/11/2022 2/11/2022 StaffName Intan Amira Husna Aisyah TelephoneNo 0101234567 0111112304 0117823433 Quantity 799.00 1 1 1999.00 3000.00 Price Payment Method cash cash TelephoneNo 012222222 101111111
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Query Syntax
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.
Similar questions
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education