Hello
I have four tables
create table tbl1 (id int, value varchar(100))
insert into tbl1
select 1, 'aa'
union all
select 2, 'bb'
union all select 3, 'cc'
create table tbl2 (id int, id2 int, value varchar(100))
insert into tbl2
select 1, 1, 'dd'
union all
select 2, 1, 'ee'
union all...