A: Discount field doesn't exist in the table.
B: OK
C: OK
D: Discount field doesn't exist in the table.
E: Date * Number is not a valid operation
F: Depending on the values, it may or may not be OK. if the entered values are numeric, this statement will work. Because the question requires 3 answers, I pass this option as correct.
BCF
The three queries that use valid expressions are:
B. SELECT product_id, (unit_price * 0.15 / (4.75 + 552.25)) FROM products;
C. SELECT product_id, (expiry_date - delivery_date) * 2 FROM products;
F. SELECT product_id, unit_price, unit_price + surcharge FROM products;
Explanation:
A. This query is invalid because the alias "S" is not defined anywhere in the query.
B. This query is valid. It calculates a value based on the unit price of each product using a mathematical expression.
C. This query is valid. It calculates the difference between the expiry date and delivery date for each product and multiplies it by 2.
D. This query is invalid because the alias "discount" is not defined anywhere in the query.
E. This query is invalid because you cannot multiply a date value by a number.
F. This query is valid. It selects the product ID, unit price, and the sum of the unit price and surcharge for each product.
This section is not available anymore. Please use the main Exam Page.1z0-071 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
GunduzHuseynli
Highly Voted 2 years, 7 months agoextopic01
2 years, 7 months agozzsqlcoder
6 months, 3 weeks agogioves28
2 years, 6 months agodici79
Most Recent 3 months, 2 weeks agoDrexan
5 months, 3 weeks agoalelejaja
11 months agotom2992
12 months agoLee_jong_suk
1 year, 4 months agoTMerlo
1 year, 6 months agojm9999
1 year, 7 months agofantastic_side_eye
1 year, 9 months agozouve
1 year, 10 months agoNelita
1 year, 11 months agoIndhumathishan
1 year, 11 months agoVoidWanderer
8 months agoholdfaststrongly
2 years, 7 months agoMZEnuovazelanda
2 years, 7 months agogabolka
2 years, 7 months agoEfstathia
2 years, 7 months agoCyberP
1 year, 10 months agoMySekQL
1 year, 7 months agoAveragenoob
2 years, 7 months ago