作者ginzu (茹)
看板Database
標題[SQL ] 改如何下指令顯示欄位的值
時間Thu Nov 27 21:57:26 2008
TABLE內容如下:
該如何下SQL 指令顯示type欄位的值
(主要是想知道哪些email存在兩種或是三種類別)
email type
[email protected] E
[email protected] P
[email protected] P
[email protected] H
[email protected] H
[email protected] E
[email protected] P
[email protected] H
[email protected] E
[email protected] E
變成
email type
[email protected] E,P
[email protected] P
[email protected] P,H,E
[email protected] H
[email protected] H,E
[email protected] E
[email protected] P
謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.169.135.201
1F:推 bobju:type要獨立出來, 跟email所屬的表做切割. 兩者之間再建一個 11/28 07:33
2F:推 bobju:..以上不算. 我想應該是為'查詢',而非要重建資料表. 11/28 07:48