select
        a.staff_id,
        st.staff_name
from (
    select
        staff_id
    from
            cultivate_tb
    where
            course like '%course3%'
)a
inner join 
        staff_tb as st
on 
        a.staff_id = st.staff_id