ANSWER THE FOLLOWING QUESTION:
PLS DON'T SPAM
Attachments:
Answers
Answered by
7
(a)
(i) To display employee name and salary of those employees who don't have their salary in the range of 25000 to 40000.
- Select EName, Sal from Emp where salary not between 25000 and 40000;
(ii) To display EmpNo and EName of all employees from table Emp.
- Select EmpNo, EName from Emp;
(iii) To display name, job, salary and hirdate of employees hired between May 20, 1991 and December 31, 2001; order the query in ascending order of hiredate.
- Select EName, Job, Sal, Hiredate from Emp where Hiredate between '1991-05-20' and '2001-12-31' order by Hiredate;
(iv) To display EName joined with Job with heading 'Employee', Sal*12 as 'Total salary' from table Emp;
- Select concat(EName, Job) as 'Employee', Sal*12 as 'Total salary' from Emp;
(v) To display name, job, salary, and hiredate of employees who are hired between February 20, 1991 and May 1, 1991; order the query in ascending order of hiredate.
- Select EName, Job, Sal, Hiredate from Emp where Hiredate between '1991-02-20' and '1991-05-01' order by Hiredate;
(b)
(i)
(ii)
(iii)
(iv)
(v)
Equestriadash:
Thanks for the Brainliest! ^_^"
Similar questions