現在有一條sql語句select ID as id,Name as name,IP as ip,lat,lon,0 as type from trk.devs_v2 where type=0 union all select id,signalName as name,ip
,lat,lng as lon,99 as type from yc_signal.signal union all想使用正則讓最后一個union all去掉 而不是去掉所有的union all想要的結果為select ID as id,Name as name,IP as ip,lat,lon,0 as type from trk.devs_v2 where type=0 union all select id,signalName as name,ip,lat,lng as lon,99 as type from yc_signal.signal有正則大神幫幫忙唄! 萬分感謝
有正則高手嗎? 幫忙解決一下這個問題
慕碼人2483693
2018-12-19 15:15:48