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 61 discussion

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

Which of the following commands will return the number of null values in the member_id column?

  • A. SELECT count(member_id) FROM my_table;
  • B. SELECT count(member_id) - count_null(member_id) FROM my_table;
  • C. SELECT count_if(member_id IS NULL) FROM my_table;
  • D. SELECT null(member_id) FROM my_table;
  • E. SELECT count_null(member_id) FROM my_table;
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
benni_ale
7 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
bartfto
10 months, 3 weeks ago
Selected Answer: C
C: There are no 'null' and 'count_null' functions in SparkSQL
upvoted 1 times
...
55f31c8
12 months ago
Selected Answer: C
https://docs.databricks.com/en/sql/language-manual/functions/count_if.html
upvoted 4 times
...
meow_akk
1 year, 1 month ago
Ans C : https://docs.databricks.com/en/sql/language-manual/functions/count.html Returns A BIGINT. If * is specified also counts row containing NULL values. If expr are specified counts only rows for which all expr are not NULL. If DISTINCT duplicate rows are not counted.
upvoted 3 times
...
kishanu
1 year, 1 month ago
Selected Answer: C
count_if() can be used in this scenario
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 ...