討論串[問題] 請問一個SQL
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者cyril63 (陽光 海與沙灘)時間18年前 (2005/12/12 16:08), 編輯資訊
1
0
0
內容預覽:
我有下列 2 table. Name Sex Age. =====================. John M 21. Mark M 20. Mary F 25. Jean F 23. Name Course Grade. ====================. John Math A. J
(還有267個字)

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者PsMonkey (痞子軍團團長)時間18年前 (2005/12/12 16:13), 編輯資訊
1
0
1
內容預覽:
假設上面這個叫做 Student. 下設下面這個叫做 Class. 硬幹法. select s.*, m.grade as Math, a.grade as Art, e.grade as English. from student as s,. (select * from class where
(還有408個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者ojinjin (小歐)時間18年前 (2005/12/12 18:52), 編輯資訊
0
0
0
內容預覽:
How about this?. select student.*,. (select grade from class. where course = 'Math' and student.name=class.name) as Math,. (select grade from class. w
(還有123個字)

推噓3(3推 0噓 1→)留言4則,0人參與, 最新作者cyril63 (陽光 海與沙灘)時間18年前 (2006/06/02 18:50), 編輯資訊
0
0
0
內容預覽:
成績表. Person Course Score. =============================. P1 Chinese 95. P1 English 80. P1 Math 76. P1 History 45. P2 English 56. P2 Math 78. P2 Chines
(還有168個字)
首頁
上一頁
1
下一頁
尾頁