The query that displays birth date of employee whose ssn = 123456789 in format 'Saturday January/09/Nineteen Sixty-Five' a. select to_char( bdate ,'day') || ('mon/dd/year' ) from employee where ssn = 123456789; b. select to_char( bdate ,'Day Month/dd/Year' ) from employee where ssn = 123456789; O c. None of the above O d. select to_char( bdate ,'Year') from employee where ssn = 123456789;

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter12: Subqueries And Merge Statements
Section: Chapter Questions
Problem 12MC
icon
Related questions
Question

i have this database qoustion i need help with it

The query that displays birth date of employee whose ssn = 123456789 in format 'Saturday
January/09/Nineteen Sixty-Five'
O a. select to_char( bdate ,'day) || ('mon/dd/year' ) from employee where ssn = 123456789;
O b. select to_char( bdate ,'Day Month/dd/Year' ) from employee where ssn = 123456789;
c. None of the above
O d. select to_char( bdate ,Year") from employee where ssn = 123456789;
Transcribed Image Text:The query that displays birth date of employee whose ssn = 123456789 in format 'Saturday January/09/Nineteen Sixty-Five' O a. select to_char( bdate ,'day) || ('mon/dd/year' ) from employee where ssn = 123456789; O b. select to_char( bdate ,'Day Month/dd/Year' ) from employee where ssn = 123456789; c. None of the above O d. select to_char( bdate ,Year") from employee where ssn = 123456789;
Select d.dependent_name from employee e join dependent d on (e.ssn=Dd.essn) where
e.lname='Wong' and d.relationship='Son'; this query shows:
O a. The sons of employee Wong.
O b. All employees sons.
O c. The relationship between Wong and Son.
O d. Make an error.
Transcribed Image Text:Select d.dependent_name from employee e join dependent d on (e.ssn=Dd.essn) where e.lname='Wong' and d.relationship='Son'; this query shows: O a. The sons of employee Wong. O b. All employees sons. O c. The relationship between Wong and Son. O d. Make an error.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Database Environment
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
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
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
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
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr