
Answer-first summary for fast verification
Answer: ARRAY
The correct SQL data type for storing an ordered collection of multiple names is **ARRAY**. - **ARRAY**: Perfect for ordered lists of elements with the same data type, making it ideal for names in a specific order. Other options are less suitable: - **MAP**: Designed for key-value pairs, not simple ordered lists. - **STRUCT**: Stores named fields with different data types, more complex than needed. - **VARCHAR**: Holds a single string, not multiple values.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.