ExamGecko
Question list
Search
Search

Question 655 - COF-C02 discussion

Report
Export

In Snowflake, what allows users to perform recursive queries?

A.
QUALIFY
Answers
A.
QUALIFY
B.
LATERAL
Answers
B.
LATERAL
C.
PIVOT
Answers
C.
PIVOT
D.
CONNECT BY
Answers
D.
CONNECT BY
Suggested answer: D

Explanation:

In Snowflake, the CONNECT BY clause allows users to perform recursive queries. Recursive queries are used to process hierarchical or tree-structured data, such as organizational charts or file systems. The CONNECT BY clause is used in conjunction with the START WITH clause to specify the starting point of the hierarchy and the relationship between parent and child rows.

References:

Snowflake Documentation: Hierarchical Queries

asked 23/09/2024
Ramzi Smair
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first