ORACLE SQL语句查询一个字段在另一表字段中有两条或以上 的数据
ORACLE SQL语句查询一个字段在另一表字段中有两条或以上 的数据
日期:2019-11-17 22:58:23 人气:3
1、创建两张测试表,
create table test_student(student_id varchar2(20), student_name varchar2(20));
create table test_class(student_id varchar2(20), class_id varchar2(20));
2、插入测试数据
insert into test_student values(1001,'陈XX');
insert into test_student valu