用format和iif,例如:
t=table(1 2 as ticker,`XSHE`XSHG as exchanged) select format(ticker,"000000")+iif(exchanged==`XSHE,`.SZ,`.SH) from t
2.1m questions
2.1m answers
60 comments
57.0k users