I'm building a little conjugation/radicalization app, and I have stumbled upon a problem. I have this SQL request:
SELECT DISTINCT RA.*
FROM radical RA
left join conjugated CO
on CO.word_id = RA.id
where CO.conjugation IN ('I', 'am', 'a', 'cat')
That returns:
| id | radical |
| 13 | to be |
However, I would like to get a result of the type:
| id | radical | word |
| null | null | I |
| 13 | to be | am |
| null | null | a |
| null | null | cat |
Does anyone know how?