Find Jobs
Hire Freelancers

SQL Help

$3-8 USD

Completed
Posted almost 20 years ago

$3-8 USD

Paid on delivery
The objective is to create a table called "balance" that includes the customer ID, last name, first name, and the customer’s total balance (the sum of price for all orders). Study the tables below: customer and order CUSTOMER CUSTOMER_ID LAST FIRST STREET CITY STATE ZIP ----------- ------- ------- --------- ------- ----- ------ 124 Martin Dan 418 Pine Grant MI 49219 1552 Adams Joan 3435 Elm Harper TN 39805 ... ... ... ... ... ... ... ORDER ORDER_NUM CUSTOMER_ID ORDER_DATE PRICE --------- ----------- ---------- ------- 10024 5642 12/8/1999 501.89 10025 124 30/9/1999 215.95 10026 4542 11/1/2000 570.25 10027 124 12/2/2000 420.60 ... ... ... ... The result should be a table that looks like this: BALANCE CUSTOMER_ID LAST FIRST TOTAL_BALANCE ----------- ------- ------- ------------- 1552 Adams Joan 845.56 5642 Collins Chip 760.01 4542 Ira Sally 570.25 ... ... ... ... Unfortunately, there are several mistakes. I need all the mistakes pointed out in a word document. By first examining the following text in the SQL*Plus window: The following SQL commands have errors and are not yielding the correct result. Modify the following code to get the desired table above. SQL>CREATE TABLE balance 2(customer_id NUMBER(7), last CHAR(10), first CHAR(10), total_balance CHAR(7)); SQL>INSERT INTO balance 2 SELECT customer.customer_id, [login to view URL], [login to view URL], sum([login to view URL]) 3 FROM customer, orders 4 WHERE customer.customer_id = order.customer_id ## Deliverables I need the mistakes pointed out in a word document. ## Platform Microsoft Word
Project ID: 3216568

About the project

20 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$2 USD in 2 days
5.0 (14 reviews)
4.3
4.3
20 freelancers are bidding on average $5 USD for this job
User Avatar
See private message.
$5.10 USD in 2 days
5.0 (97 reviews)
6.8
6.8
User Avatar
See private message.
$4.25 USD in 2 days
5.0 (82 reviews)
5.3
5.3
User Avatar
See private message.
$5.95 USD in 2 days
5.0 (18 reviews)
4.7
4.7
User Avatar
See private message.
$3.40 USD in 2 days
5.0 (27 reviews)
4.7
4.7
User Avatar
See private message.
$4.25 USD in 2 days
4.9 (47 reviews)
4.6
4.6
User Avatar
See private message.
$6.80 USD in 2 days
5.0 (31 reviews)
3.9
3.9
User Avatar
See private message.
$4.25 USD in 2 days
4.0 (17 reviews)
4.4
4.4
User Avatar
See private message.
$6.80 USD in 2 days
4.9 (10 reviews)
3.4
3.4
User Avatar
See private message.
$4.25 USD in 2 days
4.5 (6 reviews)
2.9
2.9
User Avatar
See private message.
$6.80 USD in 2 days
4.5 (7 reviews)
2.2
2.2
User Avatar
See private message.
$6.80 USD in 2 days
4.6 (6 reviews)
1.9
1.9
User Avatar
See private message.
$6.80 USD in 2 days
5.0 (3 reviews)
1.3
1.3
User Avatar
See private message.
$4.25 USD in 2 days
3.9 (6 reviews)
0.2
0.2
User Avatar
See private message.
$6.80 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$5.10 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$4.25 USD in 2 days
5.0 (2 reviews)
0.0
0.0
User Avatar
See private message.
$6.80 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$3.40 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$6.80 USD in 2 days
0.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
Norwalk, United States
5.0
35
Member since Mar 26, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.