1. Uniqueness Check
Purpose: Ensure each customer record is uniquely identified.
Check:
- Verify that
customer_idvalues are unique.
Example Query (SQL):
If the query returns any rows, duplicates exist and need resolution.
2. Completeness Check
Purpose: Confirm all required fields contain values.
Check:
- Validate that critical fields (
customer_id,name,email,dob) are not null.
Example Query (SQL):
Empty or null fields indicate missing data that must be addressed.
3. Validity Check
Purpose: Ensure data conforms to expected formats and standards.
Check:
- Verify that
emailfollows a valid format using regex. - Confirm that
dobcontains valid dates. Example Query (SQL for Email Validation):
Example Query (SQL for Date Validation):
4. Consistency Check
Purpose: Confirm consistent values across related fields.
Check:
- Ensure
countryvalues match an approved list of countries (e.g., ISO codes).
Example Query (SQL):
Mismatched values need to be standardized.
5. Timeliness Check
Purpose: Ensure data is current and within an acceptable timeframe.
Check:
- Verify that
dobindicates customers are within a valid age range (e.g., 18–120 years).
Example Query (SQL):
Records outside the valid age range may indicate data entry errors.








