Question 101
Examine the data in the CUST_NAME column of the CUSTOMERS table.
You want to extract only those customer names that have three names and display the * symbol in place of the first name as follows:
Which two queries give the required output?
Question 102
Which statement is true regarding external tables?
Question 103
Examine the structure proposed for the TRANSACTIONStable:
Which two statements are true regarding the creation and storage of data in the above table structure?
(Choose two.)
Question 104
Examine the commands used to create the DEPARTMENT_DETAILS and the COURSE-DETAILS tables:
SQL> CREATE TABLE DEPARTMfiNT_DETAILS
DEPARTMENT_ID NUMBER PRIMARY KEY ,
DEPARTMEHT_NAME VARCHAR2(50) ,
HOD VARCHAP2(50));
SQL> CREATE TABLE COURSE-DETAILS
(COURSE ID NUMBER PRIMARY KEY ,
COURS_NAME VARCHAR2 (50) ,
DEPARTMEHT_ID NUMBER REFERENCES DEPARTMENT_DETAIL
You want to generate a list of all department IDs along with any course IDs that may have been assigned to them.
Which SQL statement must you use?
Question 105
See the Exhibit and examine the structure of the PROMOTIONS table:
Using the PROMOTIONS table,
you need to find out the average cost for all promos in the range $0-2000 and $2000-5000 in category A.
You issue the following SQL statements:
What would be the outcome?
