50條經典SQL語句~~值得一看!

/*student(學號#,姓名,性別,年齡)  course(課程號#,課程名,教師號#)  score(學號#,課程號#,成績)  teacher(教師號#,教師名)*/  --1.查詢「001」課程比「002」課程成績高的全部學生的學號   select a.stuNo from score a,score b   where a.cNo='c001' and b.cNo='c002' an
相關文章
相關標籤/搜索