oracle数据库中的连表查询

1.在oracle数据库中创建数据库:

create table test(
id varchar(11),
name varchar(20)
);

create table test1(
id varchar(11),
age varchar(11),
test_id varchar(11)
);
2.分别在表中插入数据:如下为我已经插入的数据

 

 3.左连接:

 

 当然你也还可以这样:指定查询

 

 4.右连接:

 

 5.内连接:

 

 6.全连接:

 

 ————————————————

原文链接:https://blog.csdn.net/sliver1836/article/details/86506000

猜你喜欢

转载自www.cnblogs.com/fppblog/p/12441126.html