Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 403

What columns are returned when performing a FLATTEN command on semi-structured data? (Choose two.)

    Correct Answer: A, C

    When performing a FLATTEN command on semi-structured data, the columns that are returned typically include KEY and VALUE. These columns represent the key-value pairs in the flattened structure. The KEY column contains the keys from the original structure, and the VALUE column contains the corresponding values. This provides a simplified view of the hierarchical data in a tabular format.

Discussion
Kate0204Options: AC

https://docs.snowflake.com/en/sql-reference/functions/flatten.html#output

Ram9198Options: AC

+-----+------+------+-------+-------+------+ | SEQ | KEY | PATH | INDEX | VALUE | THIS | |-----+------+------+-------+-------+------|

miadieselOptions: AC

https://docs.snowflake.com/en/sql-reference/functions/flatten.html#output

_yyuktaOptions: AC

Ac are correct

MultiCloudIronManOptions: AC

Correct