0% found this document useful (0 votes)
155 views32 pages

Which of The Following Is Not True About Writing SQL Statements

The document asks which statement about writing SQL is not true. It provides four potential answers: a) indents should be used to make code more readable, b) keywords cannot be split across lines or abbreviated, c) clauses are usually placed on separate lines for readability and ease of editing, d) SQL statements are not case sensitive. The correct answer is that SQL statements are not case sensitive.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
155 views32 pages

Which of The Following Is Not True About Writing SQL Statements

The document asks which statement about writing SQL is not true. It provides four potential answers: a) indents should be used to make code more readable, b) keywords cannot be split across lines or abbreviated, c) clauses are usually placed on separate lines for readability and ease of editing, d) SQL statements are not case sensitive. The correct answer is that SQL statements are not case sensitive.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Which of the following is not true about writing SQL statements?

Select one:

a.
Indents should be used to make code more readable.

b.
Keywords cannot be split across lines or abbreviated.

c.
Clauses are usually placed on separate lines for readability and ease of editing.

d.
SQL statements are not case sensitive.
Clear my choice

Question 2
Not yet answered
Marked out of 1.00

Flag question

Question text
A system used to concatenate one column to another column.

Select one:

a.
*

b.
||

c.

d.
AS
Clear my choice

Question 3
Not yet answered
Marked out of 1.00
Flag question

Question text
True/False. This symbol % denotes zero or many characters.

Answer:

Question 4
Not yet answered
Marked out of 1.00

Flag question

Question text
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, CLASS and PRICE of all
PARTS where class is not equal to AP.

SELECT DESCRIPTION, CLASS, PRICE FROM PARTS WHERE CLASS NOT LIKE ‘%AP%’;

SELECT DESCRIPTION, CLASS, PRICE FROM PARTS WHERE CLASS NOT LIKE ‘%AP’;

SELECT DESCRIPTION, CLASS, PRICE FROM PARTS WHERE CLASS != AP;

SELECT DESCRIPTION, CLASS, PRICE FROM PARTS WHERE CLASS <> AP;

Question 5
Not yet answered
Marked out of 1.00
Flag question

Question text
It is a character, a number, or a date that is included in the SELECT statement.

Select one:

a.
Alias

b.
String

c.
Table name

d.
Literal
Clear my choice

Question 6
Not yet answered
Marked out of 1.00

Flag question

Question text
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’.
SELECT (DESCRIPTION|| ‘WITH A PRICE OF’ || PRICE) FROM PARTS WHERE PARTNUM LIKE ‘K%’;

SELECT (DESCRIPTION|| ‘WITH A PRICE OF’ || PRICE) FROM PARTS WHERE PARTNUM LIKE ‘%K’;

SELECT (DESCRIPTION|| ‘WITH A PRICE OF’ || PRICE) FROM PARTS WHERE PARTNUM LIKE ‘%K%’;

SELECT (DESCRIPTION|| ‘WITH A PRICE OF’ || PRICE) FROM PARTS WHERE PARTNUM LIKE ‘__K%’;

Question 7
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to selects the rows in a table that are returned by a query. Various criteria can be used to
restrict the rows that are retrieved.

Select one:

a.
Projection

b.
Selection

c.
Inclusion

d.
Joins
Clear my choice

Question 8
Not yet answered
Marked out of 1.00

Flag question

Question text
True/False. A null value means that the value is unavailable, unassigned, unknown, or inapplicable.
Answer:

Question 9
Not yet answered
Marked 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.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ OR ONHAND BETWEEEN 8 AND 12

b.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ OR ONHAND >=8;

c.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ AND DESCRIPTION LIKE ‘__S%’;

d.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ OR DESCRIPTION LIKE ‘__S%’;

Clear my choice

Question 10
Not yet answered
Marked out of 1.00

Flag question

Question text
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, CLASS and ONHAND of all
parts where partnum is equal to AT94, DR93 and KV29. (Note 1 query only and do not use logical
condition)

SELECT PARTNUM, CLASS, ONHAND FROM PARTS WHERE PARTNUM IN (‘AT94’,’DR93’,’KV29’);

SELECT PARTNUM, CLASS, ONHAND FROM PARTS WHERE PARTNUM IN (AT94,DR93,KV29);

SELECT PARTNUM, CLASS, ONHAND FROM PARTS WHERE PARTNUM = (‘AT94’,’DR93’,’KV29’);

SELECT PARTNUM, CLASS, ONHAND FROM PARTS WHERE PARTNUM NOT IN (‘AT94’,’DR93’,’KV29’);

Question 11
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to perform wildcard searches of valid search string values.

Select one:

a.
Like
b.
IN

c.
Comparison

d.
Between
Clear my choice

Question 12
Not yet answered
Marked out of 1.00

Flag question

Question text
Choose the letter of the correct answer based on table PARTS as shown below

Which of the following is the correct report that will list only the column DESCRIPTION, PARTNUM, CLASS,
and PRICE of all PART whose CLASS is equal to HW.

SELECT DESCRIPTION, PARTNUM, CLASS, PRICE FROM PARTS WHERE CLASS=’HW’;

SELECT DESCRIPTION, PARTNUM, CLASS, PRICE FROM PARTS WHERE class="HW";

SELECT ‘DESCRIPTION’, ‘PARTNUM’, ‘CLASS’, ‘PRICE’ FROM PARTS WHERE CLASS=’HW’;

SELECT COLUMN DESCRIPTION, PARTNUM, CLASS, PRICE FROM PARTS WHERE CLASS=’HW’;

Question 13
Not yet answered
Marked out of 1.00
Flag question

Question text
Choose the letter of the correct answer based on table PARTS as shown below

Which of the following is the correct report that will display the distinct value for CLASS and WAREHOUSE
limit the rows by getting only the parts under WAREHOUSE 3?

SELECT CLASS, WAREHOUSE FROM PARTS WHERE WAREHOUSE = 3;

SELECT CLASS, WAREHOUSE FROM PARTS WHERE WAREHOUSE = ‘3’;

SELECT CLASS, WAREHOUSE FROM PARTS WHERE WAREHOUSE = =3;

SELECT CLASS, WAREHOUSE =3 FROM PARTS WHERE WAREHOUSE = 3;

Question 14
Not yet answered
Marked 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.
SELECT DISTINCT WAREHOUSE FROM PARTS;

b.
SELECT DICTINCT WAREHOUSE, CLASS FROM PARTS WHERE WAREHOUSE >=1;

c.
SELECT WAREHOUSE, CLASS FROM PARTS WHERE CLASS IN (‘AP’,’SG’,’HW’);

d.
SELECT WAREHOUSE, CLASS FROM PARTS;

Clear my choice

Question 15
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to display rows based on a range of values.

Select one:

a.
IN

b.
Between

c.
Comparison

d.
Like
Clear my choice

Question 16
Not yet answered
Marked 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.
SELECT DESCRIPTION, PRICE *.5 +(PRICE-100) FROM PARTS WHERE PRICE <10000;

b.
SELECT DESCRIPTION, (PRICE *.5 )+PRICE-100 FROM PARTS WHERE PRICE >10000;

c.
SELECT DESCRIPTION, PRICE *.5 +PRICE-100 FROM PARTS WHERE PRICE <10000;

d.
SELECT DESCRIPTION, PRICE *.5 +PRICE-100 FROM PARTS WHERE PRICE >10000;

Clear my choice

Question 17
Not yet answered
Marked out of 1.00

Flag question

Question text
It is a value that is unavailable, unassigned, unknown, or inapplicable.

Select one:

a.
NULL

b.
Blank
c.
Space

d.
Zero
Clear my choice

Question 18
Not yet answered
Marked 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.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE DESCRIPTION LIKE ‘%L%’;

b.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS IN (‘HW’,’SG’);

c.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE ONHAND >=9;

d.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE DESCRIPTION LIKE ‘%L’;

Clear my choice

Question 19
Not yet answered
Marked 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.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ OR DESCRIPTION LIKE ‘%ER’;

b.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ AND ONHAND BETWEEN 8 AND 12;

c.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ OR ONHAND BETWEEN 8 AND 12;

d.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ AND DESCRIPTION LIKE ‘%ER’;

Clear my choice
Question 20
Not yet answered
Marked out of 1.00

Flag question

Question text
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 and
WAREHOUSE of all PARTS where ONHAND is greater than or equal to 21.

SELECT DESCRIPTION, ONHAND, WAREHOUSE FROM PARTS WHERE ONHAND >=21;

SELECT DESCRIPTION, ONHAND, WAREHOUSE FROM PARTS WHERE ONHAND <=21;

SELECT DESCRIPTION, ONHAND, WAREHOUSE FROM PARTS WHERE ONHAND =21;

SELECT DESCRIPTION, ONHAND, WAREHOUSE FROM PARTS WHERE ONHAND >21;

Question 21
Not yet answered
Marked out of 1.00

Flag question

Question text
Choose the letter of the correct answer based on table PARTS as shown below
Which of the following is the correct report listing the DESCRIPTION and Price (Note that in column PRICE
add ADDITIONAL 10000). Get only the prices with no digit that is equal to ‘5’. Note that you have to
concatenate the said column and rename the merge column as “New Price Lists”. Sort the data in DESC
order by Price.

SELECT DESCRIPTION, PRICE + 10000 AS “NEW PRICE LISTS” FROM PARTS ORDER BY PRICE DESC;

SELECT DESCRIPTION, PRICE + 10000 AS NEW PRICE LISTS FROM PARTS ORDER BY PRICE DESC;

SELECT DESCRIPTION, PRICE + 10000 AS “NEW PRICE LISTS” FROM PARTS ORDER BY PRICE;

SELECT DESCRIPTION, PRICE + 10000 + PRICE AS “NEW PRICE LISTS” FROM PARTS ORDER BY PRICE
DESC;

Question 22
Not yet answered
Marked out of 1.00

Flag question

Question text
True/False Character values are format sensitive and date values are case sensitive-sensitive.

Answer:

Question 23
Not yet answered
Marked out of 1.00

Flag question

Question text
This is use to create expression with number and date values.
Select one:

a.
Logical Condition

b.
MDAS operator

c.
Arithmetic expression

d.
Numerical Values
Clear my choice

Question 24
Not yet answered
Marked out of 1.00

Flag question

Question text
Choose the letter of the correct answer based on table PARTS as shown below

Which of the following is the correct report showing all rows and columns sort the description in
ascending order.

SELECT * FROM PARTS ORDER BY DESCRIPTION DESC;

SELECT * FROM PARTS ORDER BY DESCRIPTION;

SELECT * FROM PARTS ORDER BY DESCRIPTION ASC;

SELECT * FROM PARTS ORDER BY DESC;


Question 25
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to restrict the rows that are returned by a query.

Select one:

a.
Delete

b.
Insert

c.
Select

d.
Where
Clear my choice

Question 26
Not yet answered
Marked out of 1.00

Flag question

Question text
True/False. Character strings and date values are enclosed with double quotation marks.

Answer:

Question 27
Not yet answered
Marked 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.
SELECT WAREHOUSE, CLASS FROM PARTS;

b.
SELECT WAREHOUSE, CLASS FROM PARTS WHERE CLASS IN (‘AP’,’SG’,’HW’);

c.
SELECT DISTINCT WAREHOUSE, CLASS FROM PARTS;

d.
SELECT DISTINCT WAREHOUSE, CLASS FROM PARTS WHERE WAREHOUSE >=1;

Clear my choice

Question 28
Not yet answered
Marked out of 1.00

Flag question

Question text
True/False. The != not equal to symbol is also equal to this symbol<>.

Answer:

Question 29
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to in conditions that compare one expression with another value or expression.

Select one:

a.
Subtraction

b.
Logical Condition

c.
Comparison

d.
Add
Clear my choice

Question 30
Not yet answered
Marked out of 1.00

Flag question

Question text
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’.

SELECT DESCRIPTION, PARTNUM, CLASS, PRICES FROM PARTS WHERE DESCRIPTION LIKE ‘___D%’;

SELECT DESCRIPTION, PARTNUM, CLASS, PRICES FROM PARTS WHERE DESCRIPTION LIKE ‘%D___’;

SELECT DESCRIPTION, PARTNUM, CLASS, PRICES FROM PARTS WHERE DESCRIPTION LIKE ‘D%’;
SELECT DESCRIPTION, PARTNUM, CLASS, PRICES FROM PARTS WHERE DESCRIPTION LIKE ‘%D’;

Question 31
Not yet answered
Marked 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.
SELECT (PARTNUM|| ‘belong to’||DESCRIPTION) FROM PARTS WHERE CLASS = ‘SG’;

b.
SELECT (PARTNUM|| ‘belong to’||DESCRIPTION) FROM PARTS WHERE PARTNUM IN (‘BV06,’KV29’)

c.
SELECT (PARTNUM|| belong to||DESCRIPTION) FROM PARTS WHERE CLASS = ‘SG’;

d.
SELECT (PARTNUM|| ‘belong to’||DESCRIPTION) FROM PARTS WHERE CLASS = SG;

Clear my choice

Question 32
Not yet answered
Marked 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.
SELECT ALL FROM PARTS;

b.
SELECT * FROM TABLE PARTS;

c.
SELECT * FROM PARTS;

d.
SELECT ALL COLUMN FROM PARTS;

Clear my choice

Question 33
Not yet answered
Marked out of 1.00

Flag question

Question text
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

SELECT (PARTNUM || ‘is the part number of’|| DESCRIPTION || ‘which belongs to’ || WAREHOUSE FROM
PARTS WHERE PARTNUM NOT LIKE ‘%ER’;

SELECT (PARTNUM || ‘is the part number of’ ||DESCRIPTION || ‘which belongs to’ || WAREHOUSE)
FROM PARTS WHERE PARTNUM NOT LIKE ‘ER%’;

SELECT (PARTNUM ‘is the part number of’ DESCRIPTION‘which belongs to’WAREHOUSE) FROM
PARTS WHERE PARTNUM NOT LIKE ‘%ER’;

SELECT (PARTNUM || ‘is the part number of’ ||DESCRIPTION || ‘which belongs to’ || WAREHOUSE)
FROM PARTS WHERE PARTNUM LIKE ‘%ER’;

Question 34
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to perform wildcard searches of valid search string values.

Select one:

a.
Like

b.
IN

c.
Comparison

d.
Between
Clear my choice

Question 35
Not yet answered
Marked out of 1.00
Flag question

Question text
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.

SELECT PARTNUN, DESCRIPTION, PRICE FROM PARTS WHERE PRICE < 500;

SELECT PARTNUN, DESCRIPTION, PRICE FROM PARTS WHERE PRICE > 500;

SELECT PARTNUN, DESCRIPTION, PRICE FROM PARTS WHERE PRICE <=500;

SELECT PARTNUN, DESCRIPTION, PRICE FROM PARTS WHERE PRICE >= 500;

Question 36
Not yet answered
Marked 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.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE DESCRIPTION LIKE ‘%R’;

b.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS = ‘AP’ OR CLASS = ‘HW’;

c.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE DESCRIPTION LIKE ‘R%’;

d.
SELECT DESCRIPTION, ONHAND, CLASS
FROM PARTS
WHERE CLASS IN (‘HW’,’AP’);

Clear my choice

Question 37
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to brings together data that is stored in different tables by specifying the link between them.

Select one:

a.
Inclusion

b.
Selection
c.
Projection

d.
Joins
Clear my choice

Question 38
Not yet answered
Marked out of 1.00

Flag question

Question text
This is use to Selects the columns in a table that are returned by a query. Selects a few or as many of the
columns as required.

Select one:

a.
Inclusion

b.
Joins

c.
Selection

d.
Projection
Clear my choice

Question 39
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to test for values in a specified set of values.

Select one:
a.
Between

b.
Like

c.
Comparison

d.
IN
Clear my choice

Question 40
Not yet answered
Marked out of 1.00

Flag question

Question text
Choose the letter of the correct answer based on table PARTS as shown below

Which of the following is the correct report that will display the DESCRIPTION, WAREHOUSE AND distinct
value for CLASS.

SELECT DESCRIPTION, WAREHOUSE, DISTINCT (CLASS) FROM PARTS;

SELECT DESCRIPTION, WAREHOUSE, CLASS FROM PARTS;

SELECT DISTINCT DESCRIPTION, WAREHOUSE, CLASS FROM PARTS;

SELECT DESCRIPTION, WAREHOUSE, DISTINCT ‘CLASS ‘ FROM PARTS;


Question 41
Not yet answered
Marked 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.
SELECT DESCRIPTION, ONHAND,CLASS
FROM PARTS
WHERE ONHAND IN(50,21,22);

b.
SELECT DESCRIPTION, ONHAND,CLASS
FROM PARTS
WHERE CLASS = HW;

c.
SELECT DESCRIPTION, ONHAND,CLASS
FROM PARTS
WHERE CLASS = ‘HW’;

d.
SELECT DESCRIPTION, ONHAND,CLASS
FROM PARTS
WHERE ONHAND >=21;

Clear my choice

Question 42
Not yet answered
Marked out of 1.00
Flag question

Question text
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, WAREHOUSE, CLASS
and PRICE of all parts where the description contains keyword ‘SHE’.

SELECT DESCRIPTION, WAREHOUSE, CLASS, PRICE FROM PARTS WHERE DESCRIPTION LIKE ‘%SHE%’;

SELECT DESCRIPTION, WAREHOUSE, CLASS, PRICE FROM PARTS WHERE DESCRIPTION LIKE ‘SHE%’;

SELECT DESCRIPTION, WAREHOUSE, CLASS, PRICE FROM PARTS WHERE DESCRIPTION LIKE ‘%SHE’;

SELECT DESCRIPTION, WAREHOUSE, CLASS, PRICE FROM PARTS WHERE DESCRIPTION LIKE ‘SHE’;

Question 43
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to in conditions that compare one expression with another value or expression.

Select one:

a.
Logical Condition

b.
Comparison
c.
Subtraction

d.
Add
Clear my choice

Question 44
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to display rows based on a range of values.

Select one:

a.
Between

b.
Comparison

c.
Like

d.
IN
Clear my choice

Question 45
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to test for values in a specified set of values.

Select one:
a.
IN

b.
Comparison

c.
Like

d.
Between
Clear my choice

Question 46
Not yet answered
Marked out of 1.00

Flag question

Question text
This is used to restrict the rows that are returned by a query.

Select one:

a.
Where

b.
Select

c.
Delete

d.
Insert
Clear my choice

Question 47
Not yet answered
Marked out of 1.00
Flag question

Question text
Supposed that the user uses the ff SELECT statement: what will be the possible output.
SELECT GRADE AS STUDENT MARK FROM GRADE_REPORT;

Select one:

a.
Will display all rows and columns.

b.
Will display the column GRADE rename as STUDENT MARK

c.
Error because of the keyword AS.

d.
Error because of missing “” mark.
Clear my choice

Question 48
Not yet answered
Marked out of 1.00

Flag question

Question text
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’.
SELECT DESCRIPTION, ONHAND, CLASSS FROM PARTS WHERE DESCRIPTION LIKE ‘%N’;

SELECT DESCRIPTION, ONHAND, CLASSS FROM PARTS WHERE DESCRIPTION LIKE ‘N%’;

SELECT DESCRIPTION, ONHAND, CLASSS FROM PARTS WHERE DESCRIPTION LIKE ‘%N%’;

SELECT DESCRIPTION, ONHAND, CLASSS FROM PARTS WHERE DESCRIPTION NOT LIKE ‘%N’;

Question 49
Not yet answered
Marked out of 1.00

Flag question

Question text
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 CLASS, DESCRIPTION and PRICE of all
PARTS where price range is between 200 to 500. Sort the Price in descending order.

SELECT CLASS, DESCRIPTION, PRICE FROM PARTS WHERE PRICE BETWEEN 200 AND 500;

SELECT CLASS, DESCRIPTION, PRICE FROM PARTS WHERE PRICE BETWEEN 500 AND 500;

SELECT CLASS, DESCRIPTION, PRICE FROM PARTS WHERE PRICE BETWEEN =200 AND 500;

SELECT CLASS, DESCRIPTION, PRICE FROM PARTS WHERE PRICE BETWEEN 200 AND BETWEEN 500;

Question 50
Not yet answered
Marked out of 1.00
Flag question

Question text
This character is used to override the default precedence or to clarify the statement.

Select one:

a.
||

b.
*

c.
AS

d.

You might also like