1.列名为中文的时候不能用`` (tab上方那个键),需要用"",例如:
select user_id as "用户ID"
from order
2.没有ifnull(),可替代为:
1.coalesce(expr,defaultvalue)
2.if(expr is not null,expr,defaultvalue)
to be continued
1.列名为中文的时候不能用`` (tab上方那个键),需要用"",例如:
select user_id as "用户ID"
from order
2.没有ifnull(),可替代为:
1.coalesce(expr,defaultvalue)
2.if(expr is not null,expr,defaultvalue)
to be continued