SQL Lab 2 Exercises
SQL Lab 2 Exercises
1. Write An SQL Query To Print Details Of The Workers Who Have Joined In Feb’2014.
2. Write An SQL Query To Show Only Odd Rows From A Table.
3. List the employees whose salary is more than 3000 after giving 20% increment.
4. Write a SQL statement that counts all employees hiring on date August 17th, 2012.
5. Write a query to find the details of those employees who contain eight or more characters
in their first name.
6. Write a query to get the employee id, email id to discard the last three characters.
7. Write a query to find all the employees which first name contains the entire uppercase
letter.
8. Write a query which returns a date after which a certain time/date interval has been
subtracted.
9. Convert a date which is in the character string to a date value.
10. Write a query which returns employees whose last names begin with the letter L, whose
ASCII equivalent is 76: