SQL - Data quality records that are missing addresses
Hi All,
Could I please ask if this query is correct?
Basically I am looking for data quality issues where a record is missing address details. If either address_1, address_2 or address_3 is populated then the record is okay.
select *from Saleswhere address_1 Is Null or address_2 Is Null or address_3 Is NullANDFirst_name is not null or Last_name is not null