Additional Reading
Additional Reading
Additional Reading
Let us consider table named Employee and with using this table write different SQL
Queries
Query 4 : List the Employees whose name starts with A and surname starts with
S.
Select * from Employees where name like ‘A%’ and surname like ‘S%’;
Query 6: List the Employees whose name starts with P,B,R characters.
Select * from Employees where name like ‘[PBR]%’;
Query 7: List the Employees whose name not starts with P,B,R characters.
Select * from Employees where name like ‘[!PBR]%’;
Query 11 : What is query to display odd rows from the Employees table?
Answer:
We can achieve this using Mod function,
Union