Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. 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

image text in transcribed1. Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

Select one:

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

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

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

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

2. Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

a. SELECT DESCRIPTION, ONHAND, CLASS

FROM PARTS

WHERE DESCRIPTION LIKE L%;

b. SELECT DESCRIPTION, ONHAND, CLASS

FROM PARTS

WHERE ONHAND >=9;

c. SELECT DESCRIPTION, ONHAND, CLASS

FROM PARTS

WHERE CLASS IN (HW,SG);

d. SELECT DESCRIPTION, ONHAND, CLASS

FROM PARTS

WHERE DESCRIPTION LIKE %L;

3. Given the output below. Which of the following is the correct PL/SQL to be used

image text in transcribed

Select one:

a. SELECT WAREHOUSE, CLASS 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 DISTINCT WAREHOUSE FROM PARTS;

4. Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

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%;

5. Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

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);

6. Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

Select one:

a. SELECT ALL COLUMN FROM PARTS;

b. SELECT * FROM TABLE PARTS;

c. SELECT * FROM PARTS;

d. SELECT ALL FROM PARTS;

7. Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

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;

8.Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

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

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

9. Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

a. SELECT DESCRIPTION, ONHAND,CLASS

FROM PARTS

WHERE CLASS = HW;

b. SELECT DESCRIPTION, ONHAND,CLASS

FROM PARTS

WHERE CLASS = HW;

c. SELECT DESCRIPTION, ONHAND,CLASS

FROM PARTS

WHERE ONHAND >=21;

d. SELECT DESCRIPTION, ONHAND,CLASS

FROM PARTS

WHERE ONHAND IN(50,21,22);

10. Given the output below. Which of the following is the correct PL/SQL to be used?

image text in transcribed

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

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

c. SELECT WAREHOUSE, CLASS FROM PARTS;

d. SELECT DISTINCT WAREHOUSE, CLASS FROM PARTS;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Outlook 2023

Authors: James Holler

1st Edition

B0BP9P1VWJ, 979-8367217322

More Books

Students also viewed these Databases questions

Question

=+ 48-5 Describe the four main parenting styles.

Answered: 1 week ago

Question

WHAT IS AUTOMATION TESTING?

Answered: 1 week ago

Question

What is Selenium? What are the advantages of Selenium?

Answered: 1 week ago

Question

Explain the various collection policies in receivables management.

Answered: 1 week ago