SQL Functions
SQL Functions
5. Display details from email column in the Students table, after removing any
leading and trailing spaces:
6. Display the minimum price from the price column in the Products table:
7. Display the first four characters of the order_id column in the Orders table:
8. Display the data from the email column in the Customers table, after eliminating
any leading and trailing spaces:
9. Display the average value in the rating column in the Reviews table:
SELECT LENGTH('Electronics');
16.Display details from the address column in the Employees table after removing any
leading and trailing spaces:
17.To display the name of the month for the current date:
SELECT MONTHNAME(CURDATE());
SELECT DAYNAME(CURDATE());