Which two statements would get the correct output?

Examine the structure of the employees table.

You want to display the maximum and minimum salaries of employees hired 1 year ago.
Which two statements would get the correct output?

Examine the structure of the employees table.

You want to display the maximum and minimum salaries of employees hired 1 year ago.
Which two statements would get the correct output?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Deepak

Deepak

A,C Option is correct, Verified.

9jansen

9jansen

A, C

————————————————————————-

SELECT expression1, expression2, … expression_n,
aggregate_function (aggregate_expression)
FROM tables
[WHERE conditions]
GROUP BY expression1, expression2, … expression_n;

where
* expression1, expression2, … expression_n are the expressions that are not encapsulated within an aggregate function and must be included in the GROUP BY clause.

* aggregate_functionIt can be a function such as SUM, COUNT, MIN, MAX, or AVG functions.