討論串[SQL ] ORACLE查詢問題
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者adrianshum (Alien)時間17年前 (2008/04/07 14:32), 編輯資訊
0
0
0
內容預覽:
其實這種情況, 把 schema 改成比較合理的樣子會比較好:. 把 disease-symtoms 拆開另一個 table (e.g. Disease-Symtoms),. 一 record 存一 symtoms, 這樣查起來就會容易很多.. 不然用 like, 一來 performance 有影

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者sadstarest (大肚宇ˊ @●~ )時間17年前 (2008/04/05 00:39), 編輯資訊
0
0
0
內容預覽:
我是ORACLE新手. 剛剛再練習發現了一個查詢問題. 我的date有個欄位是symptom. dis symptom. 感冒 腹瀉,頭痛,咳嗽. 腸胃炎 腹瀉,嘔吐. 我開始的想法是想查出有腹瀉症狀的disease. 所以我key. select dis,symptom from disease.
(還有127個字)

推噓2(2推 0噓 1→)留言3則,0人參與, 最新作者sadstarest (大肚宇ˊ @●~ )時間17年前 (2008/04/05 00:30), 編輯資訊
0
0
0
內容預覽:
我是ORACLE新手. 剛剛再練習發現了一個查詢問題. 我的date有個欄位是symptom. dis symptom. 感冒 腹瀉,頭痛,咳嗽. 腸胃炎 腹瀉,嘔吐. 我開始的想法是想查出有腹瀉症狀的disease. 所以我key. select dis,symptom from disease.
(還有24個字)
首頁
上一頁
1
下一頁
尾頁