Resolve these errors Lab 3-1: KimTay Pet Supplies YE bil 8 10 Instructions Page 2 of 3
Fantastic news! We've Found the answer you've been seeking!
Question:
Resolve these errors
Transcribed Image Text:
Lab 3-1: KimTay Pet Supplies YE bil </> 8 10 Instructions Page 2 of 3 0.00 out of 10.00 (O Checks Add the provided information to a new record in the REP table. O out of 1 checks passed. Review the results below for more details. SQL Database Test Incomplete Add the provided information to a new record in the REP table. Feedback > The wrong headers were returned. Some expected rows were missing (shown in red below). Test Query SELECT * FROM REP 35 Task Expected Results Ⓒ REP_ID FIRST_NAME LAST_NAME ADDRESS CITY Fred Actual Results → < Kiser 2/3 427 Billings Dr. Cody 5 8 9 + last_name VARCHAR (50) NOT NULL, address VARCHAR(100) NOT NULL, city VARCHAR (50) NOT NULL, state VARCHAR (2) NOT NULL, postal VARCHAR(5) NOT NULL, cell phone VARCHAR (20) NOT NULL, commission DECIMAL (10,2), rate DECIMAL (10,2), PRIMARY KEY (rep_id) query.sql 19 10 11 12 13 ); 14 INSERT INTO REP (rep_id, first_name, last_name, address, city, state, postal, cell_phone, commission, rate) VALI 'Kiser', '427 Billings Dr.', 'Cody', 'WY', '82414', '307-555-6309', '0.00¹, ¹0.05'); 15 DROP TABLE REP; 16 SELECT COUNT (*) FROM information_schema.tables WHERE table_schema = 'KimTay'; 17 X 18 INSERT INTO REP (rep_id, first_name, last_name, address, city, state, postal, cell phone, commission, rate) VALU! Billings Dr., 'Cody', 'WY, 82414', '307-555-8309, 0.00, 0.05¹); SQL Viewer KimTay D X > Terminal X + == ERROR 1064 (42000) at line 18: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'phone, commission, rate) VALUES ('Kiser', '427 Billings Dr., 'Cody', 'WY, 82414" at line 1 Lab 3-1: KimTay Pet Supplies YE bil </> 8 10 Instructions Page 2 of 3 0.00 out of 10.00 (O Checks Add the provided information to a new record in the REP table. O out of 1 checks passed. Review the results below for more details. SQL Database Test Incomplete Add the provided information to a new record in the REP table. Feedback > The wrong headers were returned. Some expected rows were missing (shown in red below). Test Query SELECT * FROM REP 35 Task Expected Results Ⓒ REP_ID FIRST_NAME LAST_NAME ADDRESS CITY Fred Actual Results → < Kiser 2/3 427 Billings Dr. Cody 5 8 9 + last_name VARCHAR (50) NOT NULL, address VARCHAR(100) NOT NULL, city VARCHAR (50) NOT NULL, state VARCHAR (2) NOT NULL, postal VARCHAR(5) NOT NULL, cell phone VARCHAR (20) NOT NULL, commission DECIMAL (10,2), rate DECIMAL (10,2), PRIMARY KEY (rep_id) query.sql 19 10 11 12 13 ); 14 INSERT INTO REP (rep_id, first_name, last_name, address, city, state, postal, cell_phone, commission, rate) VALI 'Kiser', '427 Billings Dr.', 'Cody', 'WY', '82414', '307-555-6309', '0.00¹, ¹0.05'); 15 DROP TABLE REP; 16 SELECT COUNT (*) FROM information_schema.tables WHERE table_schema = 'KimTay'; 17 X 18 INSERT INTO REP (rep_id, first_name, last_name, address, city, state, postal, cell phone, commission, rate) VALU! Billings Dr., 'Cody', 'WY, 82414', '307-555-8309, 0.00, 0.05¹); SQL Viewer KimTay D X > Terminal X + == ERROR 1064 (42000) at line 18: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'phone, commission, rate) VALUES ('Kiser', '427 Billings Dr., 'Cody', 'WY, 82414" at line 1
Expert Answer:
Answer rating: 100% (QA)
The screenshots provided show an SQL editor along with some error messages generated after attempting to execute SQL statements in a lab environment T... View the full answer
Related Book For
Calculus Of A Single Variable
ISBN: 9781337275361
11th Edition
Authors: Ron Larson, Bruce H. Edwards
Posted Date:
Students also viewed these databases questions
-
Describe what actions are performed when carrying out an account maintenance function?
-
Write an equation of the line satisfying the given conditions. Write the answer in slope - intercept form. The line passes through the point (2, 13) and has a slope of 4.
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
(a) Alison has been self-employed for many years. Her profit for tax year 2020-21 is 6,380. Is she liable to pay Class 2 NICs for the year? (b) Amanda starts a business on 25 May 2020 and she is...
-
Four copper wires of equal length are connected in series. Their cross-sectional areas are 1.00 cm2, 2.00 cm2, 3.00 cm2, and 5.00 cm2. A potential difference of 120 V is applied across the...
-
= (State equations for interconnections of linear systems) Let Hi(s), i 1, 2, be two transfer function matrices with state-space realizations (A, B, C, Di), i = 1,2, respectively. Suppose the...
-
A process under design requires that \(100 \mathrm{1bmol} / \mathrm{hr}\) of toluene at \(70^{\circ} \mathrm{F}\) and \(20 \mathrm{psia}\) be brought to \(450^{\circ} \mathrm{F}\) and 75 psia....
-
Understanding Option Quotes Use the option quote information shown here to answer the questions that follow. The stock is currently selling for $94. a. Are the call options in the money? What is the...
-
Evaluate the impact of compressibility on fluid dynamics, focusing on the behavior of compressible flows in high-speed regimes, the formation of shock waves, and the use of techniques such as the...
-
Jefferson Company's demand for its only product exceeds its manufacturing capacity. The company provided the following information for the machine whose limited capacity is prohibiting the company...
-
A discount store purchased some special products at a list price of $1,600. If the broker gives a 20.25% trade discount, what is the amount of the trade discount? a. $950.00 b. $1,276.00 c. $1,706.00...
-
Wiseman Inc. Manufacturing produces Health Drinks in a Manufacturing facility. The products are: Health Shake Pre - Work out Post - Work out Wiseman introduced a 4 th Product: Health bar, made from 3...
-
Strassberg Co . purchases a truck from Forward Auto for $ 6 5 , 0 0 0 on January 2 , 2 0 2 0 . Forward estimated the assurance - type warranty costs on the truck to be $ 8 0 0 ( Forward will pay for...
-
Using the values provided in the amortization table,find the beginning pool balance in the second year of the loan. Express your answer as a number rounded to two decimal points (e.g. is your answer...
-
DIRECTIONS: Answer FIVE essay questions in complete sentences and be thorough and specific in your responses. All other questions answered and Bonus questions will count as extra credit. The FIVE...
-
Your client, age 54, has worked for the City of Dallas for the last 15 years. Your client plans to defer $22,500 into their public 457(b) plan for 2023. They will attain normal retirement under the...
-
From the following information, prepare Note to Accounts on Finance Costs: Interest paid to Bank 75,000; Interest on Debentures 58,000; Loss on issue of Debentures written off 27,500; and Commitment...
-
What are the risks and liability factors in an audit? What are the implications to the auditor? What are the implications to the organization? How can the auditor mitigate these risks and liability...
-
Find the interval of convergence of the power series. 18 (5x)= = =0
-
In Exercises 14, (a) Find the domain of r, (b) Determine the interval(s) on which the function is continuous. r(t) = fi + - -j + k k
-
In Exercises 53 58, find r(t) that satisfies the initial condition(s). r'(1) 1 hr + 2 + r(1) = 2i
-
You own your own firm, and you want to raise \($40\) million to fund an expansion. Currently, you own 100% of the firms equity, and the firm has no debt. To raise the \($40\) million solely through...
-
If investors are holding optimal portfolios, how will the portfolios of a more risk averse and a more risk-tolerant investor differ?
-
According to the managerial entrenchment theory, managers choose capital structures so as to preserve their control of the firm. On the one hand, debt is costly for managers because they risk losing...
Study smarter with the SolutionInn App