MySQL的基礎查詢記錄

基本語法 select * from tablename [where conditions];sql 1.條件查詢 條件通常使用=、>、>=、<、<=、!=等比較運算符或is、is not、in、not in等,使用and、or等邏輯運算符鏈接多個條件聯合查詢;code @查詢部門編號>=1且薪水>=3000的記錄。排序 select * from info where deptno >=1 a
相關文章
相關標籤/搜索