⚡️ Pass with Confidence Sale - 40% off ALL packages! ⚡️

1 day, 21 hours remaining!

CompTIA Data+ DA0-002 (V2) Practice Question

During initial data exploration, you load a 50,000-row CSV of customer records into a staging table named customers_stg. Each customer is supposed to be unique by the email column. You need a quick query that lists only the email addresses that appear more than once and shows how many times each one occurs so you can estimate the scope of duplication before cleansing. Which SQL statement meets this requirement?

  • SELECT DISTINCT email FROM customers_stg;

  • SELECT * FROM customers_stg WHERE email IS NULL;

  • SELECT email, COUNT() AS dup_count FROM customers_stg GROUP BY email HAVING COUNT() > 1;

  • SELECT email, COUNT(*) FROM customers_stg GROUP BY email;

CompTIA Data+ DA0-002 (V2)
Data Acquisition and Preparation
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot