Which three statements are true regarding subqueries?

Which three statements are true regarding subqueries? (Choose three.)

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

F.
Multiple columns or expressions can be compared between the main query and subquery.



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Humberto

Humberto

ABF

Marco

Marco

Hello,

if i try to execute this query:

select *
from customer_id_equip_map
where subscr_no in (select subscr_no
from service
order by subscr_no)

oracle give me an error: ORA-00907: parentesi chiusa mancante

Google

Google

We came across a cool site that you simply could get pleasure from. Take a look when you want.

Sql

Sql

Subquery cannot contain order by clause

the tuk

the tuk

Sub-queries can’t contain GROUP BY and ORDER BY clauses.