MySQL常用語句之查詢數據

簡單查詢: select [distinct] *| {字段名1,字段名2,字段名3, ...} from 表名 [where 條件表達式1] [group by 字段名 [having 條件表達式2]] [order by 字段名 [asc|desc]] [limit [offset] 記錄數] 查詢所有字段有兩種方法 第一種: 在select語句中列出所有字段名來
相關文章
相關標籤/搜索