mysql> select * from employee; -+- | empno | first_name | last_name | hire_date | salary | 1 John | Mathew 2 Riya | Roy | PV | 2009-05-20 | 30000 | |2010-05-23 | 2020-02-12 | 30000 | 90000 | 3 | Leah -+- -+- 3 rows in set (0.00 sec) -+

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter11: Group Functions
Section: Chapter Questions
Problem 8MC
icon
Related questions
Question
100%

 I am in need of assistance with both parts, A and B. I am using mysql terminal. Please provide SQL query for solution. 

Part A - Display the employee number, hire date and the last date of the hiredate month.

Part B - Perform various numeric functions using the 'dual' table. i) mod ii) power iii) round iv) sqrt

 

Thank you in advance !

mysql> select * from employee;
-+-
| empno | first_name | last_name | hire_date | salary |
1 John
| Mathew
2 Riya
| Roy
| PV
| 2009-05-20 | 30000 |
|2010-05-23 |
2020-02-12 |
30000 |
90000 |
3 | Leah
-+-
-+-
3 rows in set (0.00 sec)
-+
Transcribed Image Text:mysql> select * from employee; -+- | empno | first_name | last_name | hire_date | salary | 1 John | Mathew 2 Riya | Roy | PV | 2009-05-20 | 30000 | |2010-05-23 | 2020-02-12 | 30000 | 90000 | 3 | Leah -+- -+- 3 rows in set (0.00 sec) -+
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 1 steps

Blurred answer
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
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr