with
t1 as(
select
staff_id,
staff_name
from
staff_tb left join cultivate_tb using(staff_id)
where
course like '%course3%'
order by
staff_id
)
select * from t1

with
t1 as(
select
staff_id,
staff_name
from
staff_tb left join cultivate_tb using(staff_id)
where
course like '%course3%'
order by
staff_id
)
select * from t1