Tutorial Question
Tutorial Question
INSTRUCTIONS:
It is an individual task
Duration 1 hour
QUESTION 1
List the details (emp_name,job, job and salary) of the employees whose salary is
greater than or equal to 1000
Answer:
QUESTION 2
List the details (emp_name,job, job and salary) of the Managers whose salary is
greater than or equal to 1000
Answer:
QUESTION 4
List the details of employees who work in the department number 10 and the salary is
between 1500 and 3000
Answer:
SELECT *
FROM EMP_T e
WHERE ((e.dept_no = 10) AND
(e.emp_salary BETWEEN 1500 AND 3000))
2 | The power of SQL
QUESTION 5
List the employee numbers and names of all Salesmen or Manager who work in the
department number 30 and their salary is greater than or equal to 1500.
Answer:
QUESTION 6
List the employee name whose name starts with an alphabet ‘M’ or ends with an
alphabet ‘N’
Answer:
QUESTION 7
List the employee name whose name start with the alphabet either ‘K’ or ‘F’ or ‘M’.
Answer:
QUESTION 8
List the employee name whose name has the alphabets ‘IN’ (in anywhere).
Answer: