题解 1 | #查询所有列#

【分类】:所有列、*

分析思路

select 查询结果 [设备ID,gpa,年龄]
from 从哪张表中查找数据 [user_profile]

求解代码

方法一:

使用 * :表示所有列都输出

select * 
from user_profile 

方法二:

以列名的形式输出

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

相关推荐

叁六玖:你看,最后不是让你加油,就是鼓励你,还祝福你求职顺利。
点赞 评论 收藏
分享
评论
2
1
分享

创作者周榜

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