Top Posters
Since Sunday
a
5
k
5
c
5
B
5
l
5
C
4
s
4
a
4
t
4
i
4
r
4
r
4
New Topic  
Suedyso Suedyso
wrote...
Posts: 371
Rep: 0 0
5 years ago
Based on the tables below, which of the following SQL statements would increase the balance of the Gonzales account by $100 to a total of $450?

GENERAL SALES DATABASE:

SALESREP
SalesRepNoRepNameHireDate
654Jones01/02/2005
734Smith02/03/2007
345Chen01/25/2018
434Johnson11/23/2004

CUSTOMER
CustNoCustNameBalanceSalesRepNo
9870Winston500345
8590Gonzales350434
7840Harris800654
4870Miles100345


• SELECT Gonzales
FROM CUSTOMER
INSERT VALUES PLUS (100) INTO Balance;

• SELECT Gonzales
FROM CUSTOMER
INSERT VALUES (450) INTO Balance;

• INSERT INTO CUSTOMER VALUES (450)
SELECT Balance
WHERE CustName = 'Gonzales';

• UPDATE CUSTOMER
SET Balance = 450
WHERE CustName = 'Gonzales';
Textbook 
Database Processing: Fundamentals, Design, and Implementation

Database Processing: Fundamentals, Design, and Implementation


Edition: 15th
Authors:
Read 48 times
2 Replies
Replies
Answer verified by a subject expert
emr21emr21
wrote...
Posts: 373
5 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Suedyso Author
wrote...
5 years ago
You make an excellent tutor!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1008 People Browsing
Related Images
  
 260
  
 281
  
 4232
Your Opinion
Where do you get your textbooks?
Votes: 328