
Answer-first summary for fast verification
Answer: SHOW PARTITIONS courses;
The correct syntax to list the partitions on a Delta table is `SHOW PARTITIONS {table_name}`. This command directly lists all partitions of the specified Delta table without requiring any additional functions or queries. For more information, refer to the documentation on listing partitions of a Delta table.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.