Course Summary for Week & test summary

Experimental summary

简单记事本在上周的课程总结已经写好了。

Lessons Learned

本周我们简略的学习了JDBC数据库。

The main operation and interface JDBC


Establishment of the database

1. Load database driver
2 connected to a database
3. The database operations using statement
4. Close the database connection

Database language

1, increase data

insert into 表名称[(字段1,字段2,....字段n)]values(值1,值2.....值n);

2, delete data

delete 表名称[删除条件];

3, update data

update 表名称 set 字段1=值1......字段n=值1[where 更新条件];

4 query data

select{*|column alias}
from 表名称 别名
[where condition(s)];        //设置查询条件

Guess you like

Origin www.cnblogs.com/xzy999123/p/11957365.html