Your company wants to give 5% bonus to all the employees on their annual salary…

View the Exhibit and examine the description of the EMPLOYEES table.
Your company wants to give 5% bonus to all the employees on their annual salary. The SALARY column stores the monthly salary for an employee. To check the total for annual salary and bonus amount for each employee, you issued the following SQL statement:
SELECT first_name, salary, salary*12+salary*12*.05 "ANNUAL SALARY + BONUS" FROM employees; Which statement is true regarding the above query?

View the Exhibit and examine the description of the EMPLOYEES table.

Your company wants to give 5% bonus to all the employees on their annual salary. The SALARY column stores the monthly salary for an employee. To check the total for annual salary and bonus amount for each employee, you issued the following SQL statement:

SELECT first_name, salary, salary*12+salary*12*.05 “ANNUAL SALARY + BONUS” FROM employees;

Which statement is true regarding the above query?

A.
It would execute and give you the desired output.

B.
It would not execute because the AS keyword is missing between the column name and the alias.

C.
It would not execute because double quotation marks are used instead of single quotation marks for assigning alias for the third column.

D.
It would execute but the result for the third column would be inaccurate because the parentheses for overriding the precedence of the operator are missing.



Leave a Reply 11

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


user

user

No parenthese is needed here.

Cindy

Cindy

Why double quotation marks can be used in this circumstance?

Google

Google

Just beneath, are many entirely not related web sites to ours, however, they are certainly really worth going over.

doktor

doktor

very few web-sites that come about to be comprehensive beneath, from our point of view are undoubtedly effectively really worth checking out

Turen

Turen

The information and facts mentioned inside the post are a number of the most effective out there

Mens Divorce Law Firm

Mens Divorce Law Firm

Every when in a even though we pick out blogs that we study. Listed below would be the most recent web sites that we pick out

address

address

check beneath, are some entirely unrelated web-sites to ours, however, they’re most trustworthy sources that we use

how to create an app

how to create an app

always a massive fan of linking to bloggers that I appreciate but dont get a lot of link like from

glass coasters

glass coasters

The facts mentioned inside the report are several of the most effective offered

social apps

social apps

below you will uncover the link to some web sites that we assume you must visit

casas apuestas

casas apuestas

here are some hyperlinks to web-sites that we link to since we think they’re really worth visiting