Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ITAP 3371 LAB1 FALL 2020 Instructions: Save this file as Lab1_YourlD_LabSection (replace Yourld with your ID and LabSection with your section. Upload your final solution
ITAP 3371 LAB1 FALL 2020 Instructions: Save this file as Lab1_YourlD_LabSection (replace Yourld with your ID and LabSection with your section. Upload your final solution to Blackboard, in the Lab 01 Assignment found in: Database II LAB_211 Course Course Assignments Content Area Lab 01 Content Folder Lab 01 Assignment In this lab, you are going to use the EMPLOYEE and DEPENDENT tables in the COMPANY database schema used in GEIT 3341 DB I. If you still have this schema, you are ready to do this lab, otherwise, run the scripts Company DDL and Company DML you will find in the Scrips folder. Log in to Oracle SQL Developer/Oracle Live SQL and answer the following questions. ITAP 3371 LAB1 FALL 2020 1) For the DEPENDENT table, write a query that uses simple CASE to display the following output assuming that spouses are entitled to a full ticket and other dependents (daughters and sons) are entitled to 75% of the ticket: (5 points) DEPENDENT_NAME RELATIONSHIP Annual Ticket Alice Theodor DAUGHTER SON SPOUSE Joy Abner Michael Alice Elizabeth 75% of Ticket 75% of Ticket Full Ticket Full Ticket 75% of Ticket 75% of Ticket SPOUSE SON DAUGHTER SPOUSE Full Ticket Insert here your query
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started