题解 | #sql1-查询多列#

查询多列

http://www.nowcoder.com/practice/499b6d01eae342b2aaeaf4d0da61cab0

这个是把所有需要的列名都获得的sql语句,所以后面不用加where语句来特判是哪一个id。

select [列名1, 列名2...] from [表名];

答案:

select device_id, gender, age, university from user_profile;
全部评论

相关推荐

认真搞学习:这么良心的老板真少见
点赞 评论 收藏
分享
点赞 评论 收藏
分享
评论
16
收藏
分享

创作者周榜

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