I have a MySql table having the following structure:
ontology_term
pathway_id
pathway_name
I want to write a query using which we can get mapping between various pathways (having unique id's -> pathway_id) based on the number of common ontology terms.
So the output should be,
Pathway_id1, Pathway_id2, No. of common terms
I know, it can be easily done using a server side language, will it be faster to use MySql instead?