Question 1
A data professional wants to identify all customers who made a purchase in January. Given the following table:
CustomerID
Month
Sales
0001
January
13000
0002
March
10000
0003
April
23000
0004
May
10000
Which of the following types of functions should the professional use to flag the customers?
This question falls under the Data Analysis domain, focusing on selecting the appropriate function type to filter data in a query. The task is to flag customers who made a purchase in January, which involves a conditional check.
Statistical (Option A): Statistical functions (e.g., AVG, STDEV) analyze data distributions, not suitable for flagging specific months.
Logical (Option B): Logical functions (e.g., WHERE Month = 'January' in SQL) are used to apply conditions and flag rows based on criteria, which fits the task.
Mathematical (Option C): Mathematical functions (e.g., SUM, ROUND) perform calculations, not conditional flagging.
Date (Option D): Date functions (e.g., MONTH()) manipulate dates, but the Month column is already in text format, so a logical comparison is sufficient.
The DA0-002 Data Analysis domain includes 'applying the appropriate descriptive statistical methods using SQL queries,' and logical functions are best for conditional flagging.