MySQL常用命令

show databases;

show tables;

show variables like "%max_connections%"

select * from table1 

select count(*) from table1

select * from table1 order by time DESC limit 100

select distinct name from table1;統計不重複字段有哪些

select * from table1 order by time limit 9,10 從第十條開始,輸出10條記錄 (起始點,長度)


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章