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