MySQL數據庫管理系統java
mysqladmin -u root -p password
try{ Statement sql=con.creatStatement(); } cath(SQLException e ){}
ResultSet rs = sql.executeQuery("SELECT*FROM students");
con.close()
Statement stmt = con.createStatement(int type,int concurrency)
select 字段 from 表名 where 條件
selete * from mess order by height selete * from mess where name like '%林' order by name
public int executeUpdate(String sqlStatement);
update 表 set 字段 = 新值 where <條件子句>
insert into 表(字段列表) values (對應的具體的記錄)
delete from 表名 where <條件子句>
鏈接Derby數據庫mysql
代碼提交過程截圖:git
(statistics.sh腳本的運行結果截圖)
sql
代碼行數(新增/累積) | 博客量(新增/累積) | 學習時間(新增/累積) | 重要成長 | |
---|---|---|---|---|
目標 | 5000行 | 30篇 | 400小時 | |
第一週 | 11/11 | 1/1 | 4/4 | |
第二週 | 286/297 | 2/3 | 6/10 | |
第三週 | 722/1004 | 1/4 | 10/20 | |
第四周 | 421/1425 | 1/5 | 10/30 | |
第五週 | 829/2283 | 1/6 | 10/40 | |
第六週 | 943/3326 | 2/8 | 10/50 | |
第七週 | 497/3823 | 1/9 | 10/60 |