How can I delete rows based on just two column conditions.
Example
Table 1 id name phone 1 aa 123 1 aa 345 1 bb 123 2 aa 456 1 NULL 123 1 123 My Expected output
id name phone 1 bb 123 2 aa 456 My condition to delete: if id and name is same, delete the rows If one of the value in a condition is null or blank it should also delete the row as given in the input.