![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
文章平均质量分 89
*空_*白_
这个作者很懒,什么都没留下…
展开
-
Java——数据库:Oracle
1、99链表查询 (1)select 数据(*|字段,字段|伪列) from 数据源(表|结果集|视图) where 行过滤条件 group by 分组字段 having 组过滤条件 order by 排序字段; (2)92语法 select 数据(*|字段,字段|伪列) from 数据源1,数据源2.. where 行过滤条件 and 表连接条件 group by 分组字段 having 组过滤条件 order by 排序字段; (3)多表连接查询30部门员工信息...原创 2021-07-29 19:18:32 · 140 阅读 · 0 评论 -
Java——数据库(Oracle): SELECT
1、查询语句 select *|数据,数据... from 数据源select * from emp;select * from dept;(1)主外键约束关系: 主表|父表 : 具有主键字段 从表|子表 : 添加一个外键字段 外键字段关联主表的主键字段 外键字段中能够出现的值,必须在主表的主键字段中已有的值DML DQL数据查询语言select *(全部列) from 数据源select empno,...原创 2021-07-28 19:46:29 · 933 阅读 · 0 评论