DQL 數據庫查詢語言語法

1.1.1 DQL數據庫查詢語言語法 1.1 簡單查詢 #查詢全部商品 select * from product; #查詢商品名和商品價格 select pname ,price from product; #別名查詢。使用的關鍵字是as(as是能夠省略的)。表別名 select * from product as p; #別名查詢。使用的關鍵字as (as能夠省略).列別名; select
相關文章
相關標籤/搜索