SnowPro Core Certification — Question 1258
Which table function will return the output of a previously-run command?
Answer options
- A. FLATTEN
- B. QUERY_HISTORY
- C. TASK_HISTORY
- D. RESULT_SCAN
Correct answer: D
Explanation
The correct answer is D, RESULT_SCAN, because it allows users to retrieve the results of a previously executed query. The other options do not return the output of past commands; QUERY_HISTORY shows command execution history, TASK_HISTORY provides information on task execution, and FLATTEN is used for transforming nested data structures.