I have table a with unique x and table b with duplicated y.
I INNER JOIN the two table and the result is also duplicated of what is in table b.
Instead of having it duplicated (table B show twice). Can it show once and the second value as NULL or blank.
How can I write an SQL statement to do this. Below is my simple SQL statement
Code:SELECT * FROM a INNER JOIN b ON a.[x]=b.[y];