Login
Remember
Register
MCQ Village Q&A
Questions
Unanswered
Categories
Ask a Question
Ask a Question
You need to generate a report that displays the IDs or all products in the COSTS table whose unit
0
votes
50
views
asked
Sep 9, 2023
in
SQL
by
Admin
(
0
points)
closed
Sep 9, 2023
by
Admin
You need to generate a report that displays the IDs or all products in the COSTS table whose unit
han the unit cost. The details should be displayed in the descending order of 25% of the unit cos
query:
closed
database
Please
log in
or
register
to add a comment.
1
Answer
0
votes
answered
Sep 9, 2023
by
Admin
(
0
points)
Best answer
SELECT prod_id
FROM costs
WHERE unit_price >= unit_cost*1.25
ORDER BY unit_cost*0.25 DESC;
Please
log in
or
register
to add a comment.
Related questions
0
votes
1
answer
101
views
The SELECT statement is used to describe the table and the table data from a database. State true or false.
asked
Sep 9, 2023
in
SQL
by
Admin
(
0
points)
database
0
votes
1
answer
166
views
The NOT operator can be used with IN, ANY, and ALL operators in multiple-row subqueries. State true or false.
asked
Sep 9, 2023
in
SQL
by
Admin
(
0
points)
database
0
votes
1
answer
31
views
In SAP HANA SQL, you want to create a table whose definition should NOT be visible in the catalog. Which
asked
May 14
in
E_HANAAW_17 | SAP ABAP for HANA Certification
by
Admin
(
0
points)
sap
0
votes
1
answer
533
views
Which of the following are the correct syntaxses for displaying the StudentName and Department from Student table?
asked
Sep 9, 2023
in
SQL
by
Admin
(
0
points)
database
0
votes
1
answer
94
views
Single row function accepts only a single argument. State true or false.
asked
Sep 9, 2023
in
SQL
by
Admin
(
0
points)
database
2.8k
questions
2.8k
answers
0
comments
76
users
Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...