
Answer-first summary for fast verification
Answer: To expand each element of an array field into individual rows.
The explode function in SQL is designed to transform an array (or map) by creating a new row for each element within that array. This is particularly useful in data transformation tasks where it's necessary to flatten nested data structures for easier analysis.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.