csv - neo4j - Get all connections where a condition is matched -
i trying nodes particular condition matches. csv looks,
diagnosis drug_name total_cost average_cost arthritis rimadyl 38.87 38.87 ear infection rimadyl 15.67 7.835 massinmammarygland rimadyl 32.49 16.245
so when give following command,
match (d:diagnosis)-[r:medicine]->(dn:drug_name)-[r1:costs]->(tc:total_cost)-[r2:avg_costs]->(ac:average_cost) d.id = 'arthritis' return distinct dn,r, d,r1,tc,r2,ac
i getting below graph.
however want 1 connection i.e., row 1 csv.
Comments
Post a Comment