MYSQL select查詢語句(常用!)

查詢語句不區分大小寫。 select * from 表名←*的意思代表着全部, 若想查詢單行字段名中的所有數據,可以將*替換成字段名。 如 select name from 表名 取別名: 例子→select 字段名 as '姓名' from 表名;  //表名和字段名都可以取別名 如 select stu.id as '學號' from student stu;   //as可以忽略不寫,但是爲
相關文章
相關標籤/搜索