select c_type from course where c_id =4
select c_type from course where c_id in (select c_id from lb where s_id=0607)
这个两个句子怎么求交集呢?
意为两个都选出来的找相同项
因为一个c_type可能对应多个c_id
所以不是
select c_type from course where c_id in (select c_id from lb where s_id=0607 and c_id=4)数都是页面获取的参数、
c_id和s_id在同一个表,c_id和c_type在同一个表