DBMS 1 Midterm Lab Exam, 1 - 10
DBMS 1 Midterm Lab Exam, 1 - 10
Started on
8:16 PM
State Finished
Completed Wednesday, 18 December 2024,
on 8:31 PM
Time
15 mins 17 secs
taken
Marks 44.00/50.00
Grade 88.00 out of 100.00
窗体顶端
Question 1
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Given the output below. Which of the following is the correct PL/SQL to be used?
Select one:
a.
FROM PARTS
b.
FROM PARTS
c.
d.
FROM PARTS
Feedback
Choose the letter of the correct answer based on table PARTS as shown below
Which of the following is the correct report that will merge the column
DESCRIPTION and PRICE put a literal character string of = “ with a price of ” in
between the two columns. Limit the rows returned by getting only the partnum that
starts with letter ‘K’.
Given the output below. Which of the following is the correct PL/SQL to be used?
Select one:
a.
FROM PARTS
b.
FROM PARTS
c.
FROM PARTS
d.
FROM PARTS
Feedback
b.
Subtraction
c.
Logical Condition
d.
Comparison
This is used to restrict the rows that are returned by a query.
Select one:
a.
Where
b.
Select
c.
Delete
d.
Insert
Choose the letter of the correct answer based on table PARTS as shown below
Which of the following is the correct report listing only the column DESCRIPTION,
ONHAND, CLASS and PRICE of all price where the description ends with letter ‘N’.
Choose the letter of the correct answer based on table PARTS as shown below
Which of the following is the correct report listing the column PARTNO,
DESCRIPTION and WAREHOUSE. Get only that description that does not ends with
‘ER’. Note that you have to merge the said three columns, rename the merge column
as “Parts Record”. Below is the sample output for column.
Parts Record
AT94is the part number ofIRONwhich belong to warehouse3
Choose the letter of the correct answer based on table PARTS as shown below
Which of the following is the correct report listing only the column PARTNUM,
DESCRIPTION and PRICE of all PARTS where price is less than 500. Sort the
PRICE in ascending order.
Choose the letter of the correct answer based on table PARTS as shown below
Which of the following is the correct report listing only the column DESCRIPTION,
PARTNUM, CLASS and PRICE of all parts where the description fourth letter
starting from the first is equal to ‘D’.
窗体底端