Display CustomerName and Status as 'Q2 for every customer who was born during the 2nd quarter of 2020. Then, combine it with CustomerName and Status as 'Q3 2020° for every customer who was born during the 3rd quarter of 2020. (year, datename, union) CustomerName Status | Q2 2020 MsCustomer Amy Grenkov Dukey Diano 1 CustomerID char(5) varchar(50) 2 Q3 2020 E CustomerName O CustomerGender varchar(10) A CustomerAddress varchar(50) O CustomerEmail H CustomerDOB 3 Ingamar Carin Q3 2020 4 Javier Drewson Q3 2020 varchar(50) Pooh McCutcheon Q3 2020 date Westley Boram 03 2020 5.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter11: Group Functions
Section: Chapter Questions
Problem 17MC
icon
Related questions
Question
Display CustomerName and Status as Q2 2020° for every customer who was born during the
2nd quarter of 2020. Then, combine it with CustomerName and Status as 'Q3 2020' for every
customer who was born during the 3rd quarter of 2020.
(year, datename, union)
CustomerName
Status
Amy Grenkov
MsCustomer
1
Q2 2020
CustomerID
char(5)
2
Dukey Diano
Q3 2020
CustomerName
varchar(50)
3
Ingamar Carlin
Q3 2020
CustomerGender
varchar(10)
Javier Drewson
Q3 2020
CustomerAddress varchar(50)
I CustomerEmail
E CustomerDOB
varchar(50)
Pooh McCutcheon Q3 2020
date
6
Westley Boram
Q3 2020
4.
Transcribed Image Text:Display CustomerName and Status as Q2 2020° for every customer who was born during the 2nd quarter of 2020. Then, combine it with CustomerName and Status as 'Q3 2020' for every customer who was born during the 3rd quarter of 2020. (year, datename, union) CustomerName Status Amy Grenkov MsCustomer 1 Q2 2020 CustomerID char(5) 2 Dukey Diano Q3 2020 CustomerName varchar(50) 3 Ingamar Carlin Q3 2020 CustomerGender varchar(10) Javier Drewson Q3 2020 CustomerAddress varchar(50) I CustomerEmail E CustomerDOB varchar(50) Pooh McCutcheon Q3 2020 date 6 Westley Boram Q3 2020 4.
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
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
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L