作者cyril63 (阳光 海与沙滩)
看板Web_Design
标题[问题] 请问一个SQL
时间Mon Dec 12 16:12:25 2005
我有下列 2 table
Name Sex Age
=====================
John M 21
Mark M 20
Mary F 25
Jean F 23
Name Course Grade
====================
John Math A
John Art B
John English A
Mark Math A
Mark Art A
Mary Math C
Mary Art B
Mary English B
Jean Art A
如何只用 SQL 展成下列 Table ????
Name Sex Age Math Art English
===============================================
John M 21 A B A
Mark M 20 A A
Mary F 25 C B B
Jean F 23 A
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.30.72.160
1F:→ Chenson:join 12/12 16:18