Professional Documents
Culture Documents
SQL Queries Part-1
SQL Queries Part-1
Adwares Antivirus Apps ASP.NET Tutorials Computer Database Programming Downloads Games
Hackintosh Tutorials How To Internet Interview Questions Life Style Malwares New Technology Reviews
Adwares (3)
In this blogpost we would be providing Sample Practice SQL Queries with Antivirus (18)
Solutions For Employee Table. If you are an Database Administrator or a Database Apps (31)
Analyst oor someone who wants to know how to manipulate data from employee ASP.NET Tutorials (1)
tables in your organization, you can use make use of this SQL solutions. You can Computer (32)
Database Programming (35)
use this SQL Queries with Solutions For Employee Table for most common
Downloads (17)
problems related to retrieving data from SQL Database.
Games (21)
Hackintosh Tutorials (25)
We have divided the Practice SQL Queries with Solutions For Employee Table in How To (67)
four different parts, as we do not want to make each post lengthy and boring. Each Internet (51)
post will contain 50 Practice SQL Queries with Solutions For Employee Table. Use Interview Questions (14)
the following table to browse across different parts. Life Style (6)
Malwares (16)
New Technology (14)
Reviews (21)
Technology News (8)
Uninstall (7)
Viruses (6)
WhatsApp (10)
Wordpress (9)
Practice SQL Queries with Solutions For Employee Table – Part 1 Practice SQL Queries with Solutions For Employee Table – Part 2
Practice SQL Queries with Solutions For Employee Table – Part 3 Practice SQL Queries with Solutions For Employee Table – Part 4
4. List the details of the emps in asc order of the Deptnos and desc of Jobs.
8. List the Empno, Ename, Sal, Daily Sal of all Employees in the ASC order of AnnSal.
months_between(sysdate,hiredate)/12 Exp
10. List the empno, ename, sal, exp of all emps working for Mgr 7839.
months_between(sysdate,hiredate)/12 Exp
11. Display the details of the emps whose Comm. Is more than their sal.
12. List the emps in the asc order of Designations
13. List the emps along with their exp and daily sal is more than Rs.100
14. List the emps who are either ‘CLERK’ or ‘ANALYST’ in the desc order
SQL> Select * from emp where job in (‘CLERK’,‘ANALYST’) order by job desc ;
15. List the emps who joined on 1May81,31Dec81, 17Dec81, 19Jan80 in asc order of seniority.
SQL>
16. List the emps who are working for the deptno 10 or 20
17. List the emps who are joined in the year 1981
18. List the emps who are joined in the month of Aug 1980
019. List the emps whose annul sal ranging from 22000 and 45000
SQL> Select * from emp where sal*12 between 22000 and 45000 ;
20. List the emps those are having five characters in their names.
21. List the enames those are starting with ‘s’ and with fire characters
22. List the emps those are having four chars and third char must be ‘r’
23. List the 5 character names starting with ‘s’ and ending with ‘h’
25. List the emps who joined in the month of which second character is ‘a’
26. List the emps whose sal is 4 digit number ending with zero
27. List the emps whose names having a character set ‘ll’ together
30. List all the emps except ‘president’ & ‘Mgr’ in asc order of salaries
order by sal ;
32. List the emps whose empno not starting with digit 78
034. List the emps who joined in any year but not belongs to the month of March
36. List the emps of deptno 30 or10 joined in the year 1981
SQL> Select * from emp where deptno in(10,30) and hiredate like ’%81’ ;
39. List the total information of emp table along with dname and loc of all the emps working under ‘Accounting’
& ‘Research’ in the asc deptno
ORDER BY EMP.DEPTNO
40. List the empno, ename, sal, dname of all the ‘Mgrs’ and ‘Analyst’ working in NEWYORK, DALLAS with an
exp more than 7 years without receiving the Comma Asc order of Loc.
ORDER BY LOC ;
41. List the empno, ename, sal, dname, loc, deptno, job of all emps working at CHICAGO or working for
ACCOUNTING dept wit ann sal > 28000, but the sal should not be = 3000 or 2800 who doesn’t belongs to the
Mgr and whose no is having a digit ‘7’ or ‘8’ in 3rd position in the asc order of deptno and desc order of job.
AND MGR IS NULL AND EMPNO LIKE ‘__7_’ OR EMPNO LIKE ‘__8_’
42. Display the total information of the emps along with grades in the asc order
SQL> Select emp.*, grade from emp,salgrade where sal between losal and hisal ;
SQL> Select emp.*, grade from emp,salgrade where grade in(2,3) and
45. List the empno, ename, sal, dname, grade, exp, ann sal of emps working for dept 20 or 10.
where emp.deptno in(10,20) and emp.deptno=dept.deptno and sal between losal and hisal
46. List all the information of emps with loc and the grade of all the emps belong to the grade ranges from 2 to 4
working at the dept those are not starting with char set ‘OP’ and not ending with ‘S’ with the design having a
char ‘a’ any where joined in the year 81 but not in the month of Mar or Sep and sal not end with ‘00’ in the asc
order of grades.
SQL> Select emp.*, loc, grade from emp, dept, salgrade where
(hiredate like ‘%81’ and hiredate not like ‘%MAR%’ and hiredate not like ‘%SEP%’) and
47. List the details of the depts along with empno, ename or without the emps
48. List the details of the emps whose salaries more than the employee BLAKE
49. List the details of the emps whose job is same as ALLEN.
SQL> select * from emp where job = (select job from emp where ename = ‘ALLEN’)
SQL> select * from emp where hiredate < (select hiredate from emp where ename = ‘KING’)
advanced sql queries for practice pdf, basic sql queries practice questions, best book to practice sql queries, best site
to practice sql queries, best software to practice sql queries, best way to practice sql queries, complex sql queries for
practice in oracle, dbms sql queries practice, download sql queries practice questions, editor to practice sql queries online,
employee table queries in sql, how can i practice sql queries online, how to practice sql queries, how to practice sql queries
at home, how to practice sql queries offline, how to practice sql queries online free, i want to practice sql queries online,
interview questions sql queries employee table, mysql queries for practice, oracle 10g sql practice queries, oracle sql
queries practice questions, practice advanced sql queries, practice basic sql queries, practice complex sql queries, practice
complex sql queries online, practice of sql queries, practice of sql server queries, practice oracle sql queries online free,
practice pl sql queries, practice pl sql queries online, practice queries for sql server, practice queries in sql, practice
queries in sql server, practice set for sql queries, practice sql join queries online, practice sql nested queries, practice sql
queries, practice sql queries adventureworks, Practice SQL Queries For Employee Table, practice sql queries for interview,
practice sql queries free, practice sql queries offline, practice sql queries on mac, practice sql queries on sql server,
practice sql queries online, practice sql queries online free, practice sql queries pdf, practice sql queries questions,
practice sql queries software, practice sql queries with answer, Practice SQL Queries with Solutions, Practice SQL Queries
with Solutions For Employee Table, practice sql server queries, practice sql server queries online, practice writing complex
sql queries, practice writing sql queries, practice writing sql queries online, sample database to practice sql queries,
sample sql queries to practice, site to practice sql queries, sql join queries for practice with answers, sql practice queries
on joins, sql practice queries with answers pdf, sql practice queries with solutions, sql practice queries with solutions pdf,
sql queries based on employee table, sql queries best practice, sql queries employee department table, SQL Queries
Employee Table, sql queries examples on employee table, sql queries for employee and department table, sql queries for
employee table, sql queries for practice, sql queries for practice in oracle, sql queries for practice on emp table, sql queries
for practice with answers doc, sql queries for practice with answers free download, sql queries for practice with answers
pdf, sql queries on employee and department table, sql queries on employee table pdf, sql queries pdf for practice with
answers free download, sql queries practice book, sql queries practice examples, sql queries practice exercises, sql
queries practice exercises pdf, sql queries practice questions and answers, sql queries practice questions online, sql
queries practice questions pdf, sql queries practice questions with answers, sql queries practice questions with answers
pdf, sql queries practice quiz, sql queries practice test, sql queries practice w3schools, sql queries to practice, sql queries
to practice on oracle, sql queries using employee table, sql queries with employee table, sql query employee table, sql
query to create employee table, sql server practice queries pdf, sql server queries on employee table, sql server queries
practice exercises, sql subqueries practice, sql subqueries practice questions, t-sql practice queries, teradata sql practice
queries, website practice sql queries, website to practice sql queries, where can i practice sql queries online
Related Posts
List of Practice SQL Server Queries Most Frequently Used SQL Queries List of 200 SQL Queries for Practice
for Interview 2018 for Database Administrators Before Interview – 4
« How to Fix Sleep Wakeup, Shutdown, USB3 and Practice SQL Queries with Solutions For Employee
Graphic Card Problem on Hackintosh macOs Sierra Table – Part 2 »