Write suitable SQL query for the following:
I. To display only the date part from the date/time expression '2026-01-01 10:10:10'
II. To convert all customer names from the Cust_Name column to lowercase in the Customer table.
III. To extract the first 4 characters from the City_Name column in Location table.
IV. To display the name of the city from the CITY column in EVENT table, after removing leading spaces.
V. To find the average salary from Salary column in Employees table.
SELECT DATE('2026-01-01 10:10:10'); SELECT LOWER(Cust_Name) FROM Customer; SELECT SUBSTR(City_Name, 1, 4) FROM Location; SELECT LTRIM(CITY) FROM EVENT; SELECT AVG(Salary) 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'.