Linux下MySQL數據庫經常使用基本操做

一、顯示數據庫 show databases; 二、選擇數據庫 use 數據庫名; 三、顯示數據庫中的表 show tables; 四、顯示數據表的結構  describe 表名;  五、顯示錶中記錄  SELECT * FROM 表名  六、建庫 create databse 庫名;  七、建表 create table 表名 (字段設定列表); mysql> create table n
相關文章
相關標籤/搜索