题解 | #别名#

别名

https://www.nowcoder.com/practice/3a4ec448b6f74dc49f886692887aaf84

select 
vend_id,
vend_name as vname,
vend_address as vaddress,
vend_city as vcity
from Vendors
order by vend_name

知识点:列别名的使用
易错点:vcity 在最后边,位置也会导致错误

全部评论

相关推荐

评论
4
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务