01.
select
id,
name
, group_concat(id_book)
from
(
02.
select
p.*, s.id_book
from
province
as
p, send_book
as
s
where
p.id = s.p_1
03.
union
all
04.
select
p.*, s.id_book
from
province
as
p, send_book
as
s
where
p.id = s.p_2
05.
union
all
06.
select
p.*, s.id_book
from
province
as
p, send_book
as
s
where
p.id = s.p_3
07.
union
all
08.
select
p.*, s.id_book
from
province
as
p, send_book
as
s
where
p.id = s.p_4
09.
}
as
s
group
by
name