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
icon
Related questions
Question
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
MIN DE HE
Transcribed Image Text: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 MIN DE HE
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Intermediate SQL concepts
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr