I have the following statement
SELECT disease.id, disease.name, disease_synonym.name FROM disease JOIN disease_synonym where diseaseId=code
the result is a table with an id and two columns with the names. how can i transform this into 2 columns with only an id and the name? (of course, the id will now occur several times)
Bye,
Nico
SELECT disease.id, disease.name FROM? Which name do you want disease.name or disease_synonym.name?