[問題] 請問一個SQL
我有下列 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
→
12/12 16:18, , 1F
12/12 16:18, 1F
討論串 (同標題文章)
Web_Design 近期熱門文章
PTT數位生活區 即時熱門文章