關於MySQL數據庫的進階操做

一、as關鍵字 修改別名只能在當前sql語句中使用 as 能夠省略python 給字段起別名mysql select name as n from students; select name as '名字', age as '年齡' from students; 從students表中查詢name,age字段,能夠使用數據代表.字段名的方式 select students.name,studen
相關文章
相關標籤/搜索