Please check the SQL schema and query on SQL Fiddle
I'm getting repetitive records with NULL values, if anyone can rectify the problem.
Regards
This is what I am getting:
| MEM_ID | MEM_EMAIL | GENDER | EDUCATION | PROFESSION |
|--------|----------------|--------|-----------|-------------|
| 1 | [email protected] | Male | (null) | (null) |
| 1 | [email protected] | (null) | Graduate | (null) |
| 1 | [email protected] | (null) | (null) | Engineer |
| 2 | [email protected] | Female | (null) | (null) |
| 2 | [email protected] | (null) | Graduate | (null) |
| 2 | [email protected] | (null) | (null) | Not Working |
but I need
| MEM_ID | MEM_EMAIL | GENDER | EDUCATION | PROFESSION |
|--------|----------------|--------|-----------|-------------|
| 1 | [email protected] | Male | Graduate | Engineer |
| 2 | [email protected] | Female | Graduate | Not Working |
|