Question: Q 1 : Using table definition below write SQL statement to add yourself into the customer table. Assume that all fields require value. ( 1

Q1: Using table definition below write SQL statement to add yourself into the customer table. Assume that all fields require value. (1)
Table: customer(cnum, cname,cstreet,ccity,cprov,cpcode)
Q2. Using table definition below write SQL statement(s) to record in the database selling product number DW11 to customer number 148.(4)
Table: customer
CNUM
CNAME
CSTREET
CCITY
CPROV
CPCODE
148
Al's Appliance and Sport
2837 Greenway
Toronto
ON
33336
282
Brookings Direct
3827 Devon
Toronto
ON
33321
356
Ferguson's
382 Wildwood
Brampton
ON
33146
842
All Season
28 Lakeview
Oakville
ON
1111
Table: ORDERS
ORDER_NUM
ORDER_DATE
CNUM
21608
20/10/2007
148
21610
20/10/2007
356
21613
21/10/2007
408
Table: orderline
ORDER_NUM
PART_NUM
NUM_ORDERED
QUOTED_PRICE
21608
AT94
11
21.95
21610
DR93
1
495
Table: part
PART_NUM
DESCRIPTION
ON_HAND
CLASS
PRICE
AT94
Iron
50
HW
24.95
BV06
Home Gym
45
SG
794.95
DL71
Cordless Drill
21
HW
129.95
DR93
Gas Range
8
AP
495
DW11
Washer
12
AP
399.99
FD21
Stand Mixer
22
HW
159.95
KV29
Treadmill
9
SG
1390

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!