如何按照标签查询并且显示结果?
Create(d1:Xdevice{id:‘1’,name:‘X52K’,X:7,Y:15}) Create(d2:Mdevice{id:‘2’,name:‘M7350’,X:18,Y:15}) Create(d3:Zdevice{id:‘3’,name:‘Z3080’,X:8,Y:20}) Create(d4:Xdevice{id:‘4’,name:‘X62W’,X:8,Y:26})
用create创建了四个节点,我想查询类型为Xdevice的那两个节点(也就是d1和d4),cypher语句怎么写?