Oracle Certification Exam Question:
Download Questions PDF

Which three statements are true regarding subqueries? (Choose three.)
A. Subqueries can contain GROUP BY and ORDER BY clauses
B. Main query and subquery can get data from different tables
C. Main query and subquery must get data from the same tables
D. Subqueries can contain ORDER BY but not the GROUP BY clause
E. Only one column or expression can be compared between the main query and subqeury
F. Multiple columns or expressions can be compared between the main query and subquery

Oracle Certification Interview Question
Oracle Certification Interview Question

Answer:

A. Subqueries can contain GROUP BY and ORDER BY clauses
B. Main query and subquery can get data from different tables
F. Multiple columns or expressions can be compared between the main query and subquery

Download Oracle Certification Interview Questions And Answers PDF

Previous QuestionNext Question
You need to calculate the number of days from 1st Jan 2007 till date:
Dates are stored in the default format of dd-mm-rr.
Which two SQL statements would give the required output? (Choose two.)
A. SELECT SYSDATE - 01-JAN-2007 FROM DUAL
B. SELECT SYSDATE - TO_DATE(01/JANUARY/2007) FROM DUAL;
C. SELECT SYSDATE - TO_DATE(01-JANUARY-2007) FROM DUAL;
D. SELECT TO_CHAR(SYSDATE,DD-MON-YYYY)-01-JAN-2007 FROM DUAL;
E. SELECT TO_DATE(SYSDATE,DD/MONTH/YYYY)-01/JANUARY/2007 FROM DUAL;
What are transportable table spaces and the need to use them?