Io ho una query sql di sto tipo:
SELECT DISTINCT versions.wfv_id, workflows.name, workflows.description, versions.version, domains.name
FROM workflows, versions, composition, processors, applications, domains
WHERE (workflows.wf_id = versions.wf_id) AND (versions.wfv_id = composition.wfv_id) AND (composition.proc_id = processors.proc_id) AND (processors.proc_id = applications.proc_id) AND (applications.dom_id = domains.dom_id) AND processors.flag_wf = 'w' AND domains.dom_id IN (SELECT DISTINCT dom_id FROM user_domain WHERE username = 'admin' )
GROUP BY versions.wfv_id
ORDER BY domains.name
e ottengo una tabella di questo tipo:
"1";"Conditional Branch Choice";"xxx";"1.0";"DNA studies"
"2";"Retrieve Cell Lines Descriptions By Name";"yyy";"1.0";"DNA studies"
"1";"Conditional Branch Choice";"zzz";"1.0";"Protein studies"
Io pero' vorrei ottenere una roba di questo tipo:
"1";"Conditional Branch Choice";"xxx";"1.0";"DNA studies,Protein studies"
"2";"Retrieve Cell Lines Descriptions By Name";"yyy";"1.0";"DNA studies"
E' possibile?
Ciao e grazie!
![]()
![]()