table name: DRUG table name: PATIENT pat_dob 2/1/1993 8/7/1990 7/7/1986 6/4/1982 8/13/1993 drug_code drug_name drug_price pat sex Male pat_num pat_name Tandoc, Ivan Celerio, Rex Dalisay, Paul evanadera, Eleir Penafiel, Diane A101 AA 50 101 A102 80 102 Male Male AB A103 AC 60 103 104 Female 105 Female table name: DOCTOR doc specialization Neurology Pediatrics Dermatology table name: PRESCRIPTION doc_id 2-01 2-02 2-03 doc_name dela Cruz, Juan A Santos, Marco P. Persus, Anne B. doc_id 2-01 2-01 2-03 pres date 12/5/2019 12/6/2019 12/7/2019 12/8/2019 12/9/2019 drug_code A101 pat_num 105 104 103 pres dosage 250 ml 250 ml 500 ml A101 A102 2-03 A102 102 500 ml 2-03 A102 101 500 ml a. SQL command to inner join table DRUG and table PRESCRIPTION. b. SQL command to display columns “drug_name" and "pres_dosage". c. SQL command to display all columns of tables DOCTOR, PATIENT and PRESCRIPTION. d. SQL command to display all patient names and their assigned doctors. e. SQL command to join tables DRUG, PATIENT and PRESCRIPTION.
table name: DRUG table name: PATIENT pat_dob 2/1/1993 8/7/1990 7/7/1986 6/4/1982 8/13/1993 drug_code drug_name drug_price pat sex Male pat_num pat_name Tandoc, Ivan Celerio, Rex Dalisay, Paul evanadera, Eleir Penafiel, Diane A101 AA 50 101 A102 80 102 Male Male AB A103 AC 60 103 104 Female 105 Female table name: DOCTOR doc specialization Neurology Pediatrics Dermatology table name: PRESCRIPTION doc_id 2-01 2-02 2-03 doc_name dela Cruz, Juan A Santos, Marco P. Persus, Anne B. doc_id 2-01 2-01 2-03 pres date 12/5/2019 12/6/2019 12/7/2019 12/8/2019 12/9/2019 drug_code A101 pat_num 105 104 103 pres dosage 250 ml 250 ml 500 ml A101 A102 2-03 A102 102 500 ml 2-03 A102 101 500 ml a. SQL command to inner join table DRUG and table PRESCRIPTION. b. SQL command to display columns “drug_name" and "pres_dosage". c. SQL command to display all columns of tables DOCTOR, PATIENT and PRESCRIPTION. d. SQL command to display all patient names and their assigned doctors. e. SQL command to join tables DRUG, PATIENT and PRESCRIPTION.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
How can I create SQL command for the belows problems? The table below is the instance of the
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 5 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 System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education