设置字段别名,在字段后面加as,加上自己设置的别名。select xh as '学号',xb as '性别' from test_studentselect 字段 as '添加的别名' from 数据表名如果要添加多个字段,那么在字段后面加逗号就可以了。select xh as '学号',xb as '性别' from test_student