What will happen if you remove the parentheses from the statement?

You work as a Database Administrator for Domain.com. The company uses MySQL as its
database.
You have written the following MySQL statement to calculate the salary of employees:
SELECT (5000+((base_salary*5.0)/100)) FROM Employees;
What will happen if you remove the parentheses from the statement?

You work as a Database Administrator for Domain.com. The company uses MySQL as its
database.
You have written the following MySQL statement to calculate the salary of employees:
SELECT (5000+((base_salary*5.0)/100)) FROM Employees;
What will happen if you remove the parentheses from the statement?

A.
The output will be more than the desired output.

B.
The output will be less than the desired output.

C.
A syntax error will occur.

D.
The same value will be displayed.



Leave a Reply 0

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