One row in the PAT_ENC table represents one patient encounter. One row in the ORDER_MED table represents one medication order. One patient encounter can have many medication orders but one medication order can only have one patient encounter. In other words, the cardinality of this PAT_ENC to ORDER_MED relationship is one-to- many. You start a query with ORDER_MED. You then add PAT_ENC using an inner join. What is true about the granularity of the result set before and after adding the PAT_ENC table? A. The granularity stays at one row per patient encounter B. The granularity stays at one row per medication order C. The granularity changes from one row per medication order to one row per patient encounter D. The granularity changes from one row per patient encounter to one row per medication order on an encounter
One row in the PAT_ENC table represents one patient encounter. One row in the ORDER_MED table represents one medication order. One patient encounter can have many medication orders but one medication order can only have one patient encounter. In other words, the cardinality of this PAT_ENC to ORDER_MED relationship is one-to- many. You start a query with ORDER_MED. You then add PAT_ENC using an inner join. What is true about the granularity of the result set before and after adding the PAT_ENC table? A. The granularity stays at one row per patient encounter B. The granularity stays at one row per medication order C. The granularity changes from one row per medication order to one row per patient encounter D. The granularity changes from one row per patient encounter to one row per medication order on an encounter
Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 52P
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr