200wheel.mql 526 B

12345678910111213141516171819202122232425
  1. MATCH (am:/matrix/oo/automobile/)-[*]->(tire:/matrix/oo/tire where brand = '普利司通') ,
  2. (am:/matrix/oo/automobile/)-[*]->(rim:/matrix/oo/rim where brand = '立中车轮')
  3. return tire.id as tireid , tire.name as "tirename", rim.id as rimid, rim.name as "rimname"
  4. /**
  5. output()
  6. **/
  7. ;
  8. MATCH (am:/matrix/oo/automobile/)-[*]->(tire:/matrix/oo/tire where brand = '普利司通') ,
  9. (am:/matrix/oo/automobile/)-[*]->(rim:/matrix/oo/rim where brand = '立中车轮')
  10. return tire.name as "tirename"
  11. /**
  12. output()
  13. **/
  14. ;