Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Data Engineer Associate All Questions

View all questions & answers for the Certified Data Engineer Associate exam

Exam Certified Data Engineer Associate topic 1 question 57 discussion

Actual exam question from Databricks's Certified Data Engineer Associate
Question #: 57
Topic #: 1
[All Certified Data Engineer Associate Questions]

Which of the following SQL keywords can be used to convert a table from a long format to a wide format?

  • A. TRANSFORM
  • B. PIVOT
  • C. SUM
  • D. CONVERT
  • E. WHERE
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
80370eb
3 months, 2 weeks ago
Selected Answer: B
The PIVOT operation is used to rotate data from rows to columns, which effectively converts a table from a long format (where each row represents a single observation or measurement) to a wide format (where each row represents a single entity with multiple observations or measurements as columns).
upvoted 1 times
...
benni_ale
7 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
azure_bimonster
10 months, 1 week ago
Selected Answer: B
Answer is B
upvoted 1 times
...
AndreFR
11 months, 1 week ago
Selected Answer: B
https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-qry-select-pivot.html “Pivot” transforms the rows of the table_reference by rotating unique values of a specified column list into separate columns. SYNTAX : table_reference PIVOT ( { aggregate_expression [ [ AS ] agg_column_alias ] } [, ...] FOR column_list IN ( expression_list ) ) column_list { column_name | ( column_name [, ...] ) } expression_list { expression [ AS ] [ column_alias ] | { ( expression [, ...] ) [ AS ] [ column_alias] } [, ...] ) }
upvoted 2 times
...
athu07
1 year, 1 month ago
Selected Answer: B
PIVOT is correct.
upvoted 2 times
...
meow_akk
1 year, 1 month ago
PIVOT is correct.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...