How do you handle data cleaning in large datasets at University of Texas at Austin?
Write a SQL query against the provided student records to return usable records. Exclude rows with missing or blank names or email addresses, email values without both @ and ., and null or negative credit totals. Standardize returned names and email addresses by removing surrounding whitespace and lowercasing emails.
student_id, cleaned_student_name, cleaned_email, and credits_completedstudent_id ascending| Column | Type | Description |
|---|---|---|
| student_idPK | INT | Unique student record identifier |
| student_name | VARCHAR(150) | Student name, which may contain missing or surrounding whitespace |
| VARCHAR(255) | Student email address | |
| credits_completed | INT | Number of completed academic credits |