数据有两条,分别是: id name 1 {"id":"1","serviceKey": "0001"}, {"id":"3","serviceKey": "0003"} 2 {"id":"2","serviceKey": "0002"}, {"id":"4","serviceKey": "0004"} 能不能执行查询后拆成 4条数据: id name 1 {"id":"1","serviceKey": "0001"} 2 {"id":"2","serviceKey": "0002"} 1 {"id":"3","serviceKey": "0003"} 2 {"id":"4","serviceKey": "0004"} 麻烦用纯sql,可以用mysql自带的函数,谢谢。 |