mysql 2表查詢,3表查詢

學生表 院系 //2表查詢: 1)查出「計算機系」的所有學生信息。 //方法1: select * from 學生表 where 院系ID = ( select 院系ID from 院系 where 院系名稱='計算機系' ) //方法2: select 學生表.* from 學生表 inner join 院系 on 學生表.院系ID=院系.院系ID where 院系名稱='計算
相關文章
相關標籤/搜索