[英](Oracle Apex ver. 12 c) How to create an LOV from one table that displays another table as results
我必須創建一個值列表,三個單獨的症狀,它們將從具有相關症狀的另一個表中返回可能的疾病。 任何想法如何去做?
聽起來您正在尋找的只是一個報告 (以及您的2個LOV項目),帶有以下查詢:
select * from illnesses i
where exists (select null
from illness_symptoms s1
where s1.illness_id = i.illness_id
and s1.symptom = :P123_SYMPTOM1
)
and exists (select null
from illness_symptoms s2
where s2.illness_id = i.illness_id
and s2.symptom = :P123_SYMPTOM2
)
實際上,這就是級聯的LOV而不是報告,如果您需要的話,以症狀LOV為父級。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.