Write suitable SQL query for the following:
I. To display the value of 172.
II. To display the day part of the dates in the Hire_Date column of the Employee table.
III. To display the maximum value of the Bill_Amount column in the Bill table.
IV. To remove leading and trailing spaces from the Location column in the Branch table.
V. To display total salary from tot_sal column in Employees table.
SELECT POWER(17, 2); SELECT DAY(Hire_Date) FROM Employee; SELECT MAX(Bill_Amount) FROM Bill; SELECT TRIM(Location) FROM Branch; SELECT SUM(tot_sal) FROM Employees; What will be the result of the following SQL command?
SELECT LENGTH('Data Base');(Note: There is single space between the words Data and Base.)
State whether the following statement is True or False:
The INSTR(stringl, string2) function in SQL returns 0 if string2 is not present as a substring in string1.
What will be the result of the following SQL command?
SELECT ROUND(15.678, 2);Write SQL queries to perform the following:
(I) Display the month (in numeric form) of the date '2026-01-01'.
(II) Display only the year part from the date '2026-01-01'.