ask:
如 id love
001 小說
002 音樂
結果爲 id love
001/002 小說/音樂
如何用SQL語句把上面的結果查詢出來?!
answer:
select group_concat( id SEPARATOR '/'),group_concat( love SEPARATOR '/')
from table1
ask:
如 id love
001 小說
002 音樂
結果爲 id love
001/002 小說/音樂
如何用SQL語句把上面的結果查詢出來?!
answer:
select group_concat( id SEPARATOR '/'),group_concat( love SEPARATOR '/')
from table1
kubectl config get-contexts kubectl config use-context <context-name> kubectl config current-context