- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2021 07:57 AM
データベースビューより、4つのテーブルを結合したい
設定、where句の記述がわからない(Where句が理解できていないです。)
対象テーブル
task、incident、change_request、problem
(2つはできた。task、incident)
4つは? できるのか?
Solved! Go to Solution.
- Labels:
-
Analytics and Reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2021 03:04 AM
Got it, so you can create a database view like this,
o join all the four you may need to create 3 records in view tables related records for a database view record. Keeping task as base you can join with other table.
task with incident : task_sys_id=incident_sys_id
task with problem: task_sys_id=problem_sys_id
task with change : task_sys_id = change_sys_id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2021 03:04 AM
Got it, so you can create a database view like this,
o join all the four you may need to create 3 records in view tables related records for a database view record. Keeping task as base you can join with other table.
task with incident : task_sys_id=incident_sys_id
task with problem: task_sys_id=problem_sys_id
task with change : task_sys_id = change_sys_id