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
版权声明:本文为qq_38575545原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
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