0% found this document useful (0 votes)
5 views2 pages

Select Command

The document contains a series of SQL queries related to an employee table (emp). It includes queries to filter employees based on salary, commission status, and specific character positions in their names. The queries aim to retrieve various employee details based on defined conditions.

Uploaded by

sabra khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Select Command

The document contains a series of SQL queries related to an employee table (emp). It includes queries to filter employees based on salary, commission status, and specific character positions in their names. The queries aim to retrieve various employee details based on defined conditions.

Uploaded by

sabra khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

XII | IP | DML COMMANDS

Consider the the table emp and write the queries:

Q1 Write a query to display EName and Sal of employees whose salary is greater than or
equal to 2200 from table Emp.
Q2 write a query to display details of employees who are not getting commission from table
Empl.
Q3 Write a query to display employee name and salary of those employee who don't have
there salary in the range of 2500 to 4000.
Q4 Write a query to display the name, job title and salary of employee who do not have
manager.
Q5 Write a query to display the name of employee whose name contains 'A' as third alphabet.
Q6 Write a query to display the name of employee whose name contains T as the last
alphabet.
Q7 Write a query to display the name of employee whose name contains 'M' as first alphabet
'L' as third alphabet.
XII | CS | SELECT COMMAND

Consider the the table emp and write the queries:


Q1 Write a query to display EName and Sal of employees whose salary is greater than or equal to
2200 from table Emp.
Q2 write a query to display details of employees who are not getting commission from table Empl.
Q3 Write a query to display employee name and salary of those employee who don't have there
salary in the range of 2500 to 4000.
Q4 Write a query to display the name, job title and salary of employee who do not have manager.
Q5 Write a query to display the name of employee whose name contains 'A' as third alphabet.
Q6 Write a query to display the name of employee whose name contains T as the last alphabet.
Q7 Write a query to display the name of employee whose name contains 'M' as first alphabet 'L' as
third alphabet.

You might also like