DB
Stitch__
菜是原罪
展开
-
数据库1——基础
一:数据库: 存储,维护和管理数据的集合DB DBMS二:sql语言分类1.DDL:操作对象(数据库,表,列)create alter drop2.DML:对表中的数据进行操作insert update delete3.DQL:查询select from where group by having orde...原创 2018-10-14 21:50:56 · 2490 阅读 · 1 评论 -
Java.sql API详解
**一Interface Connection:**是与数据库之间的通道//获取对象Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/mydb1?serverTimezone=GMT%2B8","*****","****");//获取连接:传入原创 2018-10-19 22:18:37 · 1825 阅读 · 0 评论 -
数据库2——查询
所要用到的关键字:select from where group by having order by limitwhere 条件使用的关键字:=! < > <= >=in between andis null is not nulland ...原创 2018-10-17 20:26:44 · 1735 阅读 · 1 评论