select c.staff_id,
    s.staff_name
from cultivate_tb c
    join staff_tb s on c.staff_id = s.staff_id
where c.course regexp '3'
# 查询课表中包含course3的人