SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
Oracle Assessment
A WORK REPORT SUBMITTED
IN PARTIAL FULLFILLMENT OF THE REQUIREMENT FOR THE DEGREE
Bachelor of Computer Application
Dezyne E’cole College
106/10, CIVIL LINES
AJMER
RAJASTHAN - 305001 (INDIA)
(JUNE, 2015)
www.dezyneecole.com
SUBMITTED BY:
PRIYANKA BHATIA
CLASS: BCA 3RD
YEAR
1
PROJECT ABSTRACT
I am PRIYANKA BHATIA Student of 3rd year doing my Bachelor Degree in Computer
Application.
In the following pages I gave compiled my work learnt during my 3rd year at college. The
subject is RDBMS. These assessments are based on Relational Database
Management System that is useful to work with front end (user interface) application.
Take example of an online form if the user filling up an online form (E.g. SBI Form, Gmail
registration Form) on to the internet whenever he/she clicks on the submit button the field
value is transfer to the backend database and stored in Oracle, MS-Access, My SQL,
SQL Server.
The purpose of a database is to store and retrieve related information later on. A database
server is the key to solving the problems for information management.
In these assessment we are using Oracle 10g as the Relation Database Software.
The back-end database is a database that is accessed by user indirectly through an
external application rather than by application programming stored within the database
itself or by low level manipulation of the data (e.g. through SQL commands).
Here in the following assessment we are performing the following operations:
1. Creating tables to store the data into tabular format (schemas of the data base)
2. Fetching the data from the database (Using Select Query)
3. Joining the multiple data tables into one (To reduces the redundancy of the data)
4. Nested Queries (Queries within Queries.
2
Contents
Select Statement…………………………………………………………......................8
Grouping, Having etc…………………………………………...................................19
Functions………………………………………………………………………………….24
Coverage Joins………………………………………………………………………......32
Nested or Correlated Sub queries…………………………………………………….35
3
1. Create an employee Table (Employee) with Following Fields:
FIELDS DATA TYPE SIZE
EMPNO NUMBER 4
ENAME VARCHAR2 20
DEPTNO NUMBER 2
JOB VARCHAR2 20
SAL NUMBER 5
COMM NUMBER 4
MGR NUMBER 4
HIREDATE DATE -
Solutions:
CREATE TABLE EMPLOYEE
(EMPNO NUMBER (4),
ENAME VARCHAR2 (20),
JOB VARCHAR (20),
SAL NUMBER (5),
COMM NUMBER (4),
DEPTNO NUMBER (2),
MGR NUMBER (4),
HIREDATE DATE);
To check the table Structure?
Solution:
Desc Employee
Output:
4
Insert At least 5 records.
Insert into employee (empno,ename,job,sal,comm,deptno,mgr,hiredate)
values(:empno,:ename,:job,:sal,:comm,:deptno,:mgr,:hiredate)
How to fetch Records from the Table?
Solution:
Select * from employee
Output:
2. Create a department Table (Department) with Following Fields:
Solutions:
CREATE TABLE DEPARTMENT
(DNAME VARCHAR (10),
DEPTNO NUMBER (2),
FIELDS DATA TYPE SIZE
DEPTNO NUMBER 2
DNAME VARCHAR2 20
LOC (location) VARCHAR2 20
5
LOCATION VARCHAR2 (20));
To check the table Structure?
Solution:
Desc department
Output:
Insert At least 5 records.
Insert into department (dname,deptno,location)
values (:dname,:deptno,:location)
How to fetch Records from the Table?
Solution:
Select * from department
Output:
6
3. Create a salgrade Table with Following Fields:
FIELDS DATA TYPE SIZE
GRADE NUMBER 1
LOSAL NUMBER 5
HISAL NUMBER 5
Solutions:
CREATE TABLE SALGRADE
(GRADE NUMBER(1),
LOSAL NUMBER(5),
HISAL NUMBER(5));
To check the table Structure?
Solution:
Desc salgrade
Output:
Insert At least 5 records.
Insert into salgrade(grade,losal,hisal)
values (:grade,:losal,:hisal)
How to fetch Records from the Table?
Solution:
Select * from salgrade
7
Output:
8
SELECT STATEMENT
1. List all the information about all Employees?
Solution:
Select * from employee
Output:
2. Display the Name of all Employees along with their Salary?
Solution:
Select ename,sal from employee
Output:
3. List all the Employee Names who is working with Department Number is 20?
Solution:
Select ename from employee where deptno=20
Output:
9
4. List the Name of all ‘ANALYST’ and ‘SALESMAN’?
Solution:
Select ename from employee where job in('Analyst','Salesman')
Output:
5. Display the details of those Employees who have joined before the end of
Sept.1981?
Solution:
Select * from employee where hiredate<='30-sep-1981'
Output:
6. List the Employee Name and Employee Number, who is ‘MANAGER’?
Solution:
Select empno,ename from employee where job!='Manager'
Output:
10
7. List the Name and Job of all Employees who are not ‘CLERK’?
Solution:
Select ename,job from emp1 where job!='clerk'
Output:
8. List the Name of Employees, whose Employee Number is 7369,7521,7839,7934
or 7788?
Solution:
Select ename from employee where empno=7369 or empno=7521or empno=7839 or
empno=7934 or empno=7788
Output:
9. List the Employee detail who does not belongs to Department Number 10 and
30?
Solution:
Select * from employee where deptno not in (10, 30)
11
Output:
10.List the Employee Name and Salary, whose Salary is vary from 4000 to 5000?
Solution:
Select ename,sal from employee where sal between 4000 and 5000
Output:
11.List the Employee Names, who have joined before 30-Jun-1981 and after Dec-
1981?
Solution:
Select ename from employee where hiredate between '30-Jun-1981' and '31-Dec-
1981'
Output:
12.List the Commission and Name of Employees, who are availing the
Commission?
Solution:
Select comm,ename from employee where comm is not null
Output:
12
13.List the Name and Designation (job) of the Employees who does not report to
anybody?
Solution:
Select ename,job from employee where mgr is null
Output:
14.List the detail of the Employees, whose Salary is greater than 2000 and
Commission is NULL?
Solution:
Select * from employee where sal>2000 and comm is null
Output:
15.List the Employee details whose Name start with ‘S’?
Solution:
Select * from employee where ename like 'S%'
Output:
13
16.List the Employee Names and Date of Joining in Descending Order of Date of
Joining. The column title should be “Date Of Joining”?
Solution:
Select ename,hiredate as "Date of Joining" from employee order by hiredate
Output:
17.List the Employee Name, Salary, Job and Department Number and display it in
Descending Order of Department Number, Ascending Order of Name and
Descending Order of Salary?
Solution:
Select ename,sal,job,deptno from employee order by deptno desc,ename asc,sal
desc
Output:
14
18.List the Employee Name, Salary, PF, HRA, DA and Gross Salary; Order the result
in Ascending Order of Gross Salary. HRA is 50% of Salary, DA is 30% and PF is
10%?
Solution:
Select ename,sal,sal+sal*50/100+sal*30/100-sal*10/100+comm as "Gross Salary"
from employee
order by "Gross Salary" asc
Output:
19.List Salesman from dept No 30?
Solution:
Select job,deptno from employee where job='Salesman' and deptno=30
Output:
20.List Clerks from 30 and salesman from 50. In the list the lowest earning
employee must at top?
Solution:
Select job,deptno from employee where job in('Salesman','Clerk')and deptno in(50,30)
Output:
15
21.List different departments from Employee table?
Solution:
Select distinct(deptno) from employee
Output:
22.List employees having “N” at the end of their Name?
Solution:
Select ename from employee where ename like '%n'
Output:
23.List employee who are not managed by anyone?
Solution:
Select * from employee where mgr is null
Output:
16
24.List employees who are having “TT” or “LL” in their names?
Solution:
Select ename from employee
where ename like'%ll%' or ename like'%tt%'
Output:
25.List employees earning salaries below 1500 and more than 3000?
Solution:
Select ename,sal from employee where sal<1500 or sal>3000
Output:
26.List employees who are drawing some commission. Display their total salary as
well?
Solution:
Select ename,sal+comm from employee where comm is not null
Output:
17
27.List employees who are drawing more commission than their salary. Only those
records should be displayed where commission is given (also sort the output
in the descending order of commission)?
Solution:
Select * from employee where comm>sal order by comm desc
Output:
28.List the employees who joined the company in the month of “FEB”?
Solution:
Select hiredate from employee where hiredate between '1-feb-1981' and '28-feb-1981'
Output:
29.List employees who are working as analyst and having names of four
characters?
Solution:
Select ename,job from employee where job='Analyst' and ename like'____'
Output:
18
30.List employee who are managed by 7369?
Solution:
Select ename,mgr from employee where mgr=7369
Output:
19
GROUPING, HAVING ETC.
1. List the Department number and total number of employees in each
department?
Solution:
Select deptno,count(empno) from employee group by deptno
Output:
2. List the different Job names (Designation) available in the EMP table?
Solution:
Select distinct job from employee group by job
Output:
3. List the Average Salary and number of Employees working in Department
number 20 ?
Solution:
Select avg(sal),count(empno),deptno from employee where deptno=20
group by deptno
Output:
20
4. List the Department Number and Total Salary payable at each Department?
Solution:
Select deptno,sum(sal) from employee group by deptno
Output:
5. List the jobs and number of Employees in each Job. The result should be in
Descending Order of the number of Employees?
Solution:
Select job,count(empno) from employee group by job
order by count(empno) desc
Output:
6. List the Total salary, Maximum Salary, Minimum Salary and Average Salary of
Employees job wise, for Department number 10 only?
Solution:
Select sum(sal),max(sal),min(sal),avg(sal) from employee where deptno=10
group by job
Output:
21
7. List the Average Salary of each Job, excluding ‘MANAGERS’?
Solution:
Select avg(sal),job from employee
where job!='manager'
group by job
Output:
8. List the Average Monthly Salary for each Job within each department?
Solution:
Select avg(sal),job,deptno from employee
group by job,deptno
Output:
9. List the Average Salary of all departments, in which more than one people are
working?
Solution:
Select avg(sal),deptno,count(empno) from employee
group by deptno
having count(empno)=1
Output:
22
10.List the jobs of all Employees where Maximum Salary is greater than or equal
to 5000?
Solution:
Select job,max(sal) from employee
group by job
having max(sal)>=5000
Output:
11.List the total salary and average salary of the Employees job wise, for
department number 20 and display only those rows having average salary
greater than 1000?
Solution:
Select sum(sal+comm),avg(sal),job from employee
where deptno=20
group by job
having avg(sal)>1000
Output:
12.List the total salaries of only those departments in which at least 1 employees
are working?
Solution:
Select sum(sal+comm),deptno,count(empno) from employee
group by deptno
23
having count(empno)>=1
Output:
13.List the Number of Employees Managed by Each Manager?
Solution:
Select count(empno),mgr from employee
group by mgr
Output:
14.List Average Commission Drawn by all Manager?
Solution:
Select avg(comm),job from employee
where job='Manager'
group by job
Output:
24
FUNCTIONS
1. Calculate the remainder for two given numbers (213, 9)?
Solution:
Select mod(213,9) from dual
Output:
2. Calculate the power of two numbers entered by the users at run time of the
query?
Solution:
Select power(:first,:second) from dual
Output:
3. Enter a number and check whether it is negative or positive?
Solution:
Select sign(:n)from dual
Output:
4. Calculate the square root for the given number. (i.e. 10000)?
25
Solution:
Select sqrt(10000)from dual
Output:
5. Enter a float number and truncate it up to 1 and -2 places of decimal?
Solution:
Select trunc(:n,-2)as "upto -2",trunc(:n,1) as "upto 1" from dual
Output:
6. Find the rounding value of 563.456, up to 2, 0 and -2 places of decimal?
Solution:
Select round (563.456,-2)as "upto -2",round(563.456,2) as "upto 2",round(563.456)as
"upto0" from dual
Output:
7. Accept two numbers and display its corresponding character with the
appropriate title?
Solution:
Select chr(:n)as "first",chr(:n1) as "Second" from dual
26
Output:
8. Input two names and concatenate it separated by two spaces?
Solution:
Select(:First)||' '||(:Second)from dual
Output:
9. Display all the Employee names-with first character in upper case from
EMPLOYEE table?
Solution:
Select initcap(ename) from employee
Output:
10.Display all the department names in upper and lower cases ?
Solution:
Select upper(dname) from department
Output:
27
11.Extract the character S and A from the left and R and N from the right of the
Employee name from EMP table?
Solution:
Select ename,rtrim(ltrim(ename,'sa'),'rm')from employee
Output:
12.Change all the occurrences of CL with P in job domain?
Solution:
Select job,replace(job,'clerk','perk')from employee
Output:
13.Display the information of those Employees whose name has the second
character N ?
28
Solution:
Select ename,instr(ename,'n',2) from employee
Output:
14.Display the ASCII code of the character entered by the user?
Solution:
Select chr(:n)from dual
Output:
15.Display the Employee names along with the location of the character A in the
Employees name from EMP table where the job is ANALYST?
Solution:
Select ename,job,instr(ename,'a') from employee
where job='Analyst'
Output:
16.Find the Employee names with maximum number of characters in it?
Solution:
29
Select max(length(ename)) from employee
Output:
17.Display the salary of those Employees who are getting salary in four figures?
Solution:
Select sal from employee where length(sal)=4
Output:
18.Display only the first three characters of the Employees name and their H RA
(salary * .20), truncated to decimal places ?
Solution:
Select substr(ename,1,3),trunc(sal *.20)as "Total Salary" from employee
Output:
19.List all the Employee names, who have more than 20 years of experience in the
company?
Solution:
Select ename from employee
where round(months_between(sysdate,hiredate)/12)>20
Output:
30
20.Display the name and job for every Employee, while displaying jobs, 'CLERK'
should be displayed as 'LDC' and 'MANAGER' should be displayed as 'MNGR'.
The other job title should be as they are?
Solution:
Select ename, job, decode (job,'clerk','LDC','Manager','MNGR',job) Job_Details from
employee
Output:
21.Display Date in the Following Format Tuesday 31 December 2002?
Solution:
Select to_char(sysdate,'day YY MONTH YYYY')from dual
Output:
22.Display the Sunday coming After 3 Months from Today’s Date?
Solution:
Select sysdate,Next_Day(sysdate,'Sunday')from dual
Output:
31
32
Coverage Joins
1. List Employee Name, Job, Salary, Grade & the Location where they are
working?
Solution:
Select ename, job, sal, grade, location from employee join department1
on employee.deptno=department1.deptno
join salgrade1 on sal between losal and hisal
Output:
2. Count the Employees For Each Salary Grade for Each Location?
Solution:
Select location,count(empno),grade
from employee join salgrade on sal between losal and hisal
join department on employee.deptno=department.deptno
group by grade, location
Output:
3. List the Average Salary for Those Employees who are drawing salaries of grade
5?
Solution:
Select avg(sal),grade from employee
join salgrade1 on sal between losal and hisal
where grade=5
group by grade
Output:
4. List Employee Name, Job, Salary Of those employees who are working
In Accounting or Research department but drawing salaries of grade 3 ?
Solution:
33
Select empno,job,sal from employee
join department1 using(deptno)
join salgrade1 on sal between losal and hisal
where dname in('Sales','Analyst')and grade=2
Output:
5. List employee Names, Manager Names & also Display the Employees who
are not managed by anyone?
Solution:
Select m.ename as "manager",e.ename as "employee"
from employee e left outer join employee m
on m.empno=e.mgr
Output:
6. List Employees who are drawing salary more than the salary of SMITH?
Solution:
Select e.*
from employee e join employee f
on e.sal>f.sal
where f.ename='Smith'
Output:
34
7. List Employees who have joined the company before their managers?
Solution:
Select e.ename,e.hiredate,m.ename,m.hiredate
from employee e join employee m
on e.mgr=m.empno
where e.hiredate<m.hiredate
Output:
8. List Employee Name, Job, Salary, Department No, Department name and
Location Of all employees Working at NEW YORK ?
Solution:
Select ename,job,sal,deptno,dname,location from employee
join department1
using(deptno)
where location='New York'
Output:
9. List Employee Name, Job, Salary, Hire Date and Location Of all employees
reporting in Accounting or Sales Department?
Solution:
Select ename,job,sal,hiredate,location from employee
join department1
using(deptno)
where dname in('Sales','Accounting')
35
Output:
10. List Employee Name, Job, Salary, Department Name, Location for Employees
drawing salary more than 2000 and working at New York or Dallas?
Solution:
Select ename,job,sal,hiredate,location from employee
join department1
using(deptno)
where sal>1500 and location in('New York','London')
Output:
11. List Employee Name, Job, Salary, Department Name, Location Of all
employees, also list the Department Details in which an employee is working?
Solution:
Select ename,job,sal,location,dname from employee
join department1
using(deptno)
group by ename,job,sal,dname,location
having count(empno)=1
Output:
36
Nested and Correlated subqueries
1. List Employees who are working in the Sales Department (Use Nested)?
Solution:
Select * from employee
where deptno=(Select deptno from department where dname='Sales')
Output:
2. List Departments in which at least one employee is working (Use Nested)?
Solution:
Select dname from department
where deptno in(Select deptno from employee)
Output:
3. Find the Names of employees who do not work in the same department of Scott?
Solution:
Select ename from employee
where deptno<>(Select deptno from employee where ename='Scott')
Output:
37
4. List departments (dept details) in which no employee is working (use nested)?
Solution:
Select * from department
where deptno not in(Select deptno from employee)
Output:
5. List Employees who are drawing the Salary more than the Average salary of
DEPTNO 20.Also ensure that the result should not contain the records of
DEPTNO 20?
Solution:
Select * from employee
where deptno!=10 and sal>(Select avg(sal) from employee where deptno=10
group by deptno)
Output:
6. List Employee names drawing Second Maximum Salary?
Solution:
Select * from employee
where sal=(Select max(sal)from employee where sal<(Select max(sal)from
employee))
Output:
7. List the Employee Names, Job & Salary for those employees who are drawing
minmum salaries for their department (Use Correlated)?
38
Solution:
Select deptno,ename,job,sal from employee o
where sal=(Select min(sal) from employee i
where o.deptno=i.deptno)
Output:
8. List the highest paid employee for each department using( correlated sub
query)?
Solution:
Select * from employee e
where sal=(Select max(sal) from employee i where i.deptno=e.deptno)
Output:
9. List Employees working for the same job type as of ALLEN and drawing more
than him (use Self Join)?
Solution:
Select e.*
from employee e join employee f
on e.sal>f.sal and e.job=f.job
where f.ename='Allen'
Output:
39

Weitere ähnliche Inhalte

Was ist angesagt? (7)

SQL practice questions - set 3
SQL practice questions - set 3SQL practice questions - set 3
SQL practice questions - set 3
 
Dbms lab questions
Dbms lab questionsDbms lab questions
Dbms lab questions
 
Sql queries questions and answers
Sql queries questions and answersSql queries questions and answers
Sql queries questions and answers
 
SQL practice questions set - 2
SQL practice questions set - 2SQL practice questions set - 2
SQL practice questions set - 2
 
SQL and E R diagram
SQL and E R diagramSQL and E R diagram
SQL and E R diagram
 
SQL BASIC QUERIES
SQL  BASIC QUERIES SQL  BASIC QUERIES
SQL BASIC QUERIES
 
Excel project chapter 08
Excel project   chapter 08Excel project   chapter 08
Excel project chapter 08
 

Ähnlich wie Here are the steps to list the average salary of employees having more than 1 employee in the same job:1. Use GROUP BY to group the data by job2. Use HAVING clause to filter the groups having count of employees more than 1 3. Select the average salaryThe query will be:SELECT avg(sal), jobFROM employee GROUP BY jobHAVING count(empno) > 1;This will list the average salary for each job that has more than 1 employee. The HAVING clause filters the groups having more than 1 employee before calculating the average

Pseudocode algorithim flowchart
Pseudocode algorithim flowchartPseudocode algorithim flowchart
Pseudocode algorithim flowchartfika sweety
 
METHODOLOGY FOR SOLVING EMPLOYEE ATTRITION PROBLEM- Daniel Essien.pptx
METHODOLOGY FOR SOLVING EMPLOYEE ATTRITION PROBLEM- Daniel Essien.pptxMETHODOLOGY FOR SOLVING EMPLOYEE ATTRITION PROBLEM- Daniel Essien.pptx
METHODOLOGY FOR SOLVING EMPLOYEE ATTRITION PROBLEM- Daniel Essien.pptxDanielEssien9
 
SQL-AGG-FUN.pdfiiiijuyyttfffgyyuyyyyyhhh
SQL-AGG-FUN.pdfiiiijuyyttfffgyyuyyyyyhhhSQL-AGG-FUN.pdfiiiijuyyttfffgyyuyyyyyhhh
SQL-AGG-FUN.pdfiiiijuyyttfffgyyuyyyyyhhhNaveeN547338
 
Top 40 sql queries for testers
Top 40 sql queries for testersTop 40 sql queries for testers
Top 40 sql queries for testerstlvd
 
Complete practical file of class xii cs 2021-22
Complete practical file of class xii cs 2021-22Complete practical file of class xii cs 2021-22
Complete practical file of class xii cs 2021-22manyaarora19
 
Complex Queries using MYSQL00123211.pptx
Complex Queries using MYSQL00123211.pptxComplex Queries using MYSQL00123211.pptx
Complex Queries using MYSQL00123211.pptxmetriohanzel
 
Sql task answers
Sql task answersSql task answers
Sql task answersNawaz Sk
 
SQL practice questions set
SQL practice questions setSQL practice questions set
SQL practice questions setMohd Tousif
 
12. Basic SQL Queries (2).pptx
12. Basic SQL Queries  (2).pptx12. Basic SQL Queries  (2).pptx
12. Basic SQL Queries (2).pptxSabrinaShanta2
 
Introduction to Databases - Assignment_1
Introduction to Databases - Assignment_1Introduction to Databases - Assignment_1
Introduction to Databases - Assignment_1Mohd Tousif
 
SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03Krishna Sujeer
 
DB_lecturs8 27 11.pptx
DB_lecturs8 27 11.pptxDB_lecturs8 27 11.pptx
DB_lecturs8 27 11.pptxNermeenKamel7
 
Chapter 16-spreadsheet1 questions and answer
Chapter 16-spreadsheet1  questions and answerChapter 16-spreadsheet1  questions and answer
Chapter 16-spreadsheet1 questions and answerRaajTech
 
DBMS 5 | MySQL Practice List - HR Schema
DBMS 5 | MySQL Practice List - HR SchemaDBMS 5 | MySQL Practice List - HR Schema
DBMS 5 | MySQL Practice List - HR SchemaMohammad Imam Hossain
 

Ähnlich wie Here are the steps to list the average salary of employees having more than 1 employee in the same job:1. Use GROUP BY to group the data by job2. Use HAVING clause to filter the groups having count of employees more than 1 3. Select the average salaryThe query will be:SELECT avg(sal), jobFROM employee GROUP BY jobHAVING count(empno) > 1;This will list the average salary for each job that has more than 1 employee. The HAVING clause filters the groups having more than 1 employee before calculating the average (20)

Pseudocode algorithim flowchart
Pseudocode algorithim flowchartPseudocode algorithim flowchart
Pseudocode algorithim flowchart
 
Sql Queries
Sql QueriesSql Queries
Sql Queries
 
METHODOLOGY FOR SOLVING EMPLOYEE ATTRITION PROBLEM- Daniel Essien.pptx
METHODOLOGY FOR SOLVING EMPLOYEE ATTRITION PROBLEM- Daniel Essien.pptxMETHODOLOGY FOR SOLVING EMPLOYEE ATTRITION PROBLEM- Daniel Essien.pptx
METHODOLOGY FOR SOLVING EMPLOYEE ATTRITION PROBLEM- Daniel Essien.pptx
 
SQL-AGG-FUN.pdfiiiijuyyttfffgyyuyyyyyhhh
SQL-AGG-FUN.pdfiiiijuyyttfffgyyuyyyyyhhhSQL-AGG-FUN.pdfiiiijuyyttfffgyyuyyyyyhhh
SQL-AGG-FUN.pdfiiiijuyyttfffgyyuyyyyyhhh
 
Top 40 sql queries for testers
Top 40 sql queries for testersTop 40 sql queries for testers
Top 40 sql queries for testers
 
Complete practical file of class xii cs 2021-22
Complete practical file of class xii cs 2021-22Complete practical file of class xii cs 2021-22
Complete practical file of class xii cs 2021-22
 
Complex Queries using MYSQL00123211.pptx
Complex Queries using MYSQL00123211.pptxComplex Queries using MYSQL00123211.pptx
Complex Queries using MYSQL00123211.pptx
 
Sql task answers
Sql task answersSql task answers
Sql task answers
 
BIS05 Introduction to SQL
BIS05 Introduction to SQLBIS05 Introduction to SQL
BIS05 Introduction to SQL
 
SQL practice questions set
SQL practice questions setSQL practice questions set
SQL practice questions set
 
Dump Answers
Dump AnswersDump Answers
Dump Answers
 
12. Basic SQL Queries (2).pptx
12. Basic SQL Queries  (2).pptx12. Basic SQL Queries  (2).pptx
12. Basic SQL Queries (2).pptx
 
Introduction to Databases - Assignment_1
Introduction to Databases - Assignment_1Introduction to Databases - Assignment_1
Introduction to Databases - Assignment_1
 
C Programming
C ProgrammingC Programming
C Programming
 
SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03
 
SQL.pptx
SQL.pptxSQL.pptx
SQL.pptx
 
Ravi querys 425
Ravi querys  425Ravi querys  425
Ravi querys 425
 
DB_lecturs8 27 11.pptx
DB_lecturs8 27 11.pptxDB_lecturs8 27 11.pptx
DB_lecturs8 27 11.pptx
 
Chapter 16-spreadsheet1 questions and answer
Chapter 16-spreadsheet1  questions and answerChapter 16-spreadsheet1  questions and answer
Chapter 16-spreadsheet1 questions and answer
 
DBMS 5 | MySQL Practice List - HR Schema
DBMS 5 | MySQL Practice List - HR SchemaDBMS 5 | MySQL Practice List - HR Schema
DBMS 5 | MySQL Practice List - HR Schema
 

Mehr von dezyneecole

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Yeardezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Yeardezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...dezyneecole
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...dezyneecole
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Yeardezyneecole
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)dezyneecole
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)dezyneecole
 

Mehr von dezyneecole (20)

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
 

Kürzlich hochgeladen

ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 

Kürzlich hochgeladen (20)

OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 

Here are the steps to list the average salary of employees having more than 1 employee in the same job:1. Use GROUP BY to group the data by job2. Use HAVING clause to filter the groups having count of employees more than 1 3. Select the average salaryThe query will be:SELECT avg(sal), jobFROM employee GROUP BY jobHAVING count(empno) > 1;This will list the average salary for each job that has more than 1 employee. The HAVING clause filters the groups having more than 1 employee before calculating the average

  • 1. Oracle Assessment A WORK REPORT SUBMITTED IN PARTIAL FULLFILLMENT OF THE REQUIREMENT FOR THE DEGREE Bachelor of Computer Application Dezyne E’cole College 106/10, CIVIL LINES AJMER RAJASTHAN - 305001 (INDIA) (JUNE, 2015) www.dezyneecole.com SUBMITTED BY: PRIYANKA BHATIA CLASS: BCA 3RD YEAR
  • 2. 1 PROJECT ABSTRACT I am PRIYANKA BHATIA Student of 3rd year doing my Bachelor Degree in Computer Application. In the following pages I gave compiled my work learnt during my 3rd year at college. The subject is RDBMS. These assessments are based on Relational Database Management System that is useful to work with front end (user interface) application. Take example of an online form if the user filling up an online form (E.g. SBI Form, Gmail registration Form) on to the internet whenever he/she clicks on the submit button the field value is transfer to the backend database and stored in Oracle, MS-Access, My SQL, SQL Server. The purpose of a database is to store and retrieve related information later on. A database server is the key to solving the problems for information management. In these assessment we are using Oracle 10g as the Relation Database Software. The back-end database is a database that is accessed by user indirectly through an external application rather than by application programming stored within the database itself or by low level manipulation of the data (e.g. through SQL commands). Here in the following assessment we are performing the following operations: 1. Creating tables to store the data into tabular format (schemas of the data base) 2. Fetching the data from the database (Using Select Query) 3. Joining the multiple data tables into one (To reduces the redundancy of the data) 4. Nested Queries (Queries within Queries.
  • 3. 2 Contents Select Statement…………………………………………………………......................8 Grouping, Having etc…………………………………………...................................19 Functions………………………………………………………………………………….24 Coverage Joins………………………………………………………………………......32 Nested or Correlated Sub queries…………………………………………………….35
  • 4. 3 1. Create an employee Table (Employee) with Following Fields: FIELDS DATA TYPE SIZE EMPNO NUMBER 4 ENAME VARCHAR2 20 DEPTNO NUMBER 2 JOB VARCHAR2 20 SAL NUMBER 5 COMM NUMBER 4 MGR NUMBER 4 HIREDATE DATE - Solutions: CREATE TABLE EMPLOYEE (EMPNO NUMBER (4), ENAME VARCHAR2 (20), JOB VARCHAR (20), SAL NUMBER (5), COMM NUMBER (4), DEPTNO NUMBER (2), MGR NUMBER (4), HIREDATE DATE); To check the table Structure? Solution: Desc Employee Output:
  • 5. 4 Insert At least 5 records. Insert into employee (empno,ename,job,sal,comm,deptno,mgr,hiredate) values(:empno,:ename,:job,:sal,:comm,:deptno,:mgr,:hiredate) How to fetch Records from the Table? Solution: Select * from employee Output: 2. Create a department Table (Department) with Following Fields: Solutions: CREATE TABLE DEPARTMENT (DNAME VARCHAR (10), DEPTNO NUMBER (2), FIELDS DATA TYPE SIZE DEPTNO NUMBER 2 DNAME VARCHAR2 20 LOC (location) VARCHAR2 20
  • 6. 5 LOCATION VARCHAR2 (20)); To check the table Structure? Solution: Desc department Output: Insert At least 5 records. Insert into department (dname,deptno,location) values (:dname,:deptno,:location) How to fetch Records from the Table? Solution: Select * from department Output:
  • 7. 6 3. Create a salgrade Table with Following Fields: FIELDS DATA TYPE SIZE GRADE NUMBER 1 LOSAL NUMBER 5 HISAL NUMBER 5 Solutions: CREATE TABLE SALGRADE (GRADE NUMBER(1), LOSAL NUMBER(5), HISAL NUMBER(5)); To check the table Structure? Solution: Desc salgrade Output: Insert At least 5 records. Insert into salgrade(grade,losal,hisal) values (:grade,:losal,:hisal) How to fetch Records from the Table? Solution: Select * from salgrade
  • 9. 8 SELECT STATEMENT 1. List all the information about all Employees? Solution: Select * from employee Output: 2. Display the Name of all Employees along with their Salary? Solution: Select ename,sal from employee Output: 3. List all the Employee Names who is working with Department Number is 20? Solution: Select ename from employee where deptno=20 Output:
  • 10. 9 4. List the Name of all ‘ANALYST’ and ‘SALESMAN’? Solution: Select ename from employee where job in('Analyst','Salesman') Output: 5. Display the details of those Employees who have joined before the end of Sept.1981? Solution: Select * from employee where hiredate<='30-sep-1981' Output: 6. List the Employee Name and Employee Number, who is ‘MANAGER’? Solution: Select empno,ename from employee where job!='Manager' Output:
  • 11. 10 7. List the Name and Job of all Employees who are not ‘CLERK’? Solution: Select ename,job from emp1 where job!='clerk' Output: 8. List the Name of Employees, whose Employee Number is 7369,7521,7839,7934 or 7788? Solution: Select ename from employee where empno=7369 or empno=7521or empno=7839 or empno=7934 or empno=7788 Output: 9. List the Employee detail who does not belongs to Department Number 10 and 30? Solution: Select * from employee where deptno not in (10, 30)
  • 12. 11 Output: 10.List the Employee Name and Salary, whose Salary is vary from 4000 to 5000? Solution: Select ename,sal from employee where sal between 4000 and 5000 Output: 11.List the Employee Names, who have joined before 30-Jun-1981 and after Dec- 1981? Solution: Select ename from employee where hiredate between '30-Jun-1981' and '31-Dec- 1981' Output: 12.List the Commission and Name of Employees, who are availing the Commission? Solution: Select comm,ename from employee where comm is not null Output:
  • 13. 12 13.List the Name and Designation (job) of the Employees who does not report to anybody? Solution: Select ename,job from employee where mgr is null Output: 14.List the detail of the Employees, whose Salary is greater than 2000 and Commission is NULL? Solution: Select * from employee where sal>2000 and comm is null Output: 15.List the Employee details whose Name start with ‘S’? Solution: Select * from employee where ename like 'S%' Output:
  • 14. 13 16.List the Employee Names and Date of Joining in Descending Order of Date of Joining. The column title should be “Date Of Joining”? Solution: Select ename,hiredate as "Date of Joining" from employee order by hiredate Output: 17.List the Employee Name, Salary, Job and Department Number and display it in Descending Order of Department Number, Ascending Order of Name and Descending Order of Salary? Solution: Select ename,sal,job,deptno from employee order by deptno desc,ename asc,sal desc Output:
  • 15. 14 18.List the Employee Name, Salary, PF, HRA, DA and Gross Salary; Order the result in Ascending Order of Gross Salary. HRA is 50% of Salary, DA is 30% and PF is 10%? Solution: Select ename,sal,sal+sal*50/100+sal*30/100-sal*10/100+comm as "Gross Salary" from employee order by "Gross Salary" asc Output: 19.List Salesman from dept No 30? Solution: Select job,deptno from employee where job='Salesman' and deptno=30 Output: 20.List Clerks from 30 and salesman from 50. In the list the lowest earning employee must at top? Solution: Select job,deptno from employee where job in('Salesman','Clerk')and deptno in(50,30) Output:
  • 16. 15 21.List different departments from Employee table? Solution: Select distinct(deptno) from employee Output: 22.List employees having “N” at the end of their Name? Solution: Select ename from employee where ename like '%n' Output: 23.List employee who are not managed by anyone? Solution: Select * from employee where mgr is null Output:
  • 17. 16 24.List employees who are having “TT” or “LL” in their names? Solution: Select ename from employee where ename like'%ll%' or ename like'%tt%' Output: 25.List employees earning salaries below 1500 and more than 3000? Solution: Select ename,sal from employee where sal<1500 or sal>3000 Output: 26.List employees who are drawing some commission. Display their total salary as well? Solution: Select ename,sal+comm from employee where comm is not null Output:
  • 18. 17 27.List employees who are drawing more commission than their salary. Only those records should be displayed where commission is given (also sort the output in the descending order of commission)? Solution: Select * from employee where comm>sal order by comm desc Output: 28.List the employees who joined the company in the month of “FEB”? Solution: Select hiredate from employee where hiredate between '1-feb-1981' and '28-feb-1981' Output: 29.List employees who are working as analyst and having names of four characters? Solution: Select ename,job from employee where job='Analyst' and ename like'____' Output:
  • 19. 18 30.List employee who are managed by 7369? Solution: Select ename,mgr from employee where mgr=7369 Output:
  • 20. 19 GROUPING, HAVING ETC. 1. List the Department number and total number of employees in each department? Solution: Select deptno,count(empno) from employee group by deptno Output: 2. List the different Job names (Designation) available in the EMP table? Solution: Select distinct job from employee group by job Output: 3. List the Average Salary and number of Employees working in Department number 20 ? Solution: Select avg(sal),count(empno),deptno from employee where deptno=20 group by deptno Output:
  • 21. 20 4. List the Department Number and Total Salary payable at each Department? Solution: Select deptno,sum(sal) from employee group by deptno Output: 5. List the jobs and number of Employees in each Job. The result should be in Descending Order of the number of Employees? Solution: Select job,count(empno) from employee group by job order by count(empno) desc Output: 6. List the Total salary, Maximum Salary, Minimum Salary and Average Salary of Employees job wise, for Department number 10 only? Solution: Select sum(sal),max(sal),min(sal),avg(sal) from employee where deptno=10 group by job Output:
  • 22. 21 7. List the Average Salary of each Job, excluding ‘MANAGERS’? Solution: Select avg(sal),job from employee where job!='manager' group by job Output: 8. List the Average Monthly Salary for each Job within each department? Solution: Select avg(sal),job,deptno from employee group by job,deptno Output: 9. List the Average Salary of all departments, in which more than one people are working? Solution: Select avg(sal),deptno,count(empno) from employee group by deptno having count(empno)=1 Output:
  • 23. 22 10.List the jobs of all Employees where Maximum Salary is greater than or equal to 5000? Solution: Select job,max(sal) from employee group by job having max(sal)>=5000 Output: 11.List the total salary and average salary of the Employees job wise, for department number 20 and display only those rows having average salary greater than 1000? Solution: Select sum(sal+comm),avg(sal),job from employee where deptno=20 group by job having avg(sal)>1000 Output: 12.List the total salaries of only those departments in which at least 1 employees are working? Solution: Select sum(sal+comm),deptno,count(empno) from employee group by deptno
  • 24. 23 having count(empno)>=1 Output: 13.List the Number of Employees Managed by Each Manager? Solution: Select count(empno),mgr from employee group by mgr Output: 14.List Average Commission Drawn by all Manager? Solution: Select avg(comm),job from employee where job='Manager' group by job Output:
  • 25. 24 FUNCTIONS 1. Calculate the remainder for two given numbers (213, 9)? Solution: Select mod(213,9) from dual Output: 2. Calculate the power of two numbers entered by the users at run time of the query? Solution: Select power(:first,:second) from dual Output: 3. Enter a number and check whether it is negative or positive? Solution: Select sign(:n)from dual Output: 4. Calculate the square root for the given number. (i.e. 10000)?
  • 26. 25 Solution: Select sqrt(10000)from dual Output: 5. Enter a float number and truncate it up to 1 and -2 places of decimal? Solution: Select trunc(:n,-2)as "upto -2",trunc(:n,1) as "upto 1" from dual Output: 6. Find the rounding value of 563.456, up to 2, 0 and -2 places of decimal? Solution: Select round (563.456,-2)as "upto -2",round(563.456,2) as "upto 2",round(563.456)as "upto0" from dual Output: 7. Accept two numbers and display its corresponding character with the appropriate title? Solution: Select chr(:n)as "first",chr(:n1) as "Second" from dual
  • 27. 26 Output: 8. Input two names and concatenate it separated by two spaces? Solution: Select(:First)||' '||(:Second)from dual Output: 9. Display all the Employee names-with first character in upper case from EMPLOYEE table? Solution: Select initcap(ename) from employee Output: 10.Display all the department names in upper and lower cases ? Solution: Select upper(dname) from department Output:
  • 28. 27 11.Extract the character S and A from the left and R and N from the right of the Employee name from EMP table? Solution: Select ename,rtrim(ltrim(ename,'sa'),'rm')from employee Output: 12.Change all the occurrences of CL with P in job domain? Solution: Select job,replace(job,'clerk','perk')from employee Output: 13.Display the information of those Employees whose name has the second character N ?
  • 29. 28 Solution: Select ename,instr(ename,'n',2) from employee Output: 14.Display the ASCII code of the character entered by the user? Solution: Select chr(:n)from dual Output: 15.Display the Employee names along with the location of the character A in the Employees name from EMP table where the job is ANALYST? Solution: Select ename,job,instr(ename,'a') from employee where job='Analyst' Output: 16.Find the Employee names with maximum number of characters in it? Solution:
  • 30. 29 Select max(length(ename)) from employee Output: 17.Display the salary of those Employees who are getting salary in four figures? Solution: Select sal from employee where length(sal)=4 Output: 18.Display only the first three characters of the Employees name and their H RA (salary * .20), truncated to decimal places ? Solution: Select substr(ename,1,3),trunc(sal *.20)as "Total Salary" from employee Output: 19.List all the Employee names, who have more than 20 years of experience in the company? Solution: Select ename from employee where round(months_between(sysdate,hiredate)/12)>20 Output:
  • 31. 30 20.Display the name and job for every Employee, while displaying jobs, 'CLERK' should be displayed as 'LDC' and 'MANAGER' should be displayed as 'MNGR'. The other job title should be as they are? Solution: Select ename, job, decode (job,'clerk','LDC','Manager','MNGR',job) Job_Details from employee Output: 21.Display Date in the Following Format Tuesday 31 December 2002? Solution: Select to_char(sysdate,'day YY MONTH YYYY')from dual Output: 22.Display the Sunday coming After 3 Months from Today’s Date? Solution: Select sysdate,Next_Day(sysdate,'Sunday')from dual Output:
  • 32. 31
  • 33. 32 Coverage Joins 1. List Employee Name, Job, Salary, Grade & the Location where they are working? Solution: Select ename, job, sal, grade, location from employee join department1 on employee.deptno=department1.deptno join salgrade1 on sal between losal and hisal Output: 2. Count the Employees For Each Salary Grade for Each Location? Solution: Select location,count(empno),grade from employee join salgrade on sal between losal and hisal join department on employee.deptno=department.deptno group by grade, location Output: 3. List the Average Salary for Those Employees who are drawing salaries of grade 5? Solution: Select avg(sal),grade from employee join salgrade1 on sal between losal and hisal where grade=5 group by grade Output: 4. List Employee Name, Job, Salary Of those employees who are working In Accounting or Research department but drawing salaries of grade 3 ? Solution:
  • 34. 33 Select empno,job,sal from employee join department1 using(deptno) join salgrade1 on sal between losal and hisal where dname in('Sales','Analyst')and grade=2 Output: 5. List employee Names, Manager Names & also Display the Employees who are not managed by anyone? Solution: Select m.ename as "manager",e.ename as "employee" from employee e left outer join employee m on m.empno=e.mgr Output: 6. List Employees who are drawing salary more than the salary of SMITH? Solution: Select e.* from employee e join employee f on e.sal>f.sal where f.ename='Smith' Output:
  • 35. 34 7. List Employees who have joined the company before their managers? Solution: Select e.ename,e.hiredate,m.ename,m.hiredate from employee e join employee m on e.mgr=m.empno where e.hiredate<m.hiredate Output: 8. List Employee Name, Job, Salary, Department No, Department name and Location Of all employees Working at NEW YORK ? Solution: Select ename,job,sal,deptno,dname,location from employee join department1 using(deptno) where location='New York' Output: 9. List Employee Name, Job, Salary, Hire Date and Location Of all employees reporting in Accounting or Sales Department? Solution: Select ename,job,sal,hiredate,location from employee join department1 using(deptno) where dname in('Sales','Accounting')
  • 36. 35 Output: 10. List Employee Name, Job, Salary, Department Name, Location for Employees drawing salary more than 2000 and working at New York or Dallas? Solution: Select ename,job,sal,hiredate,location from employee join department1 using(deptno) where sal>1500 and location in('New York','London') Output: 11. List Employee Name, Job, Salary, Department Name, Location Of all employees, also list the Department Details in which an employee is working? Solution: Select ename,job,sal,location,dname from employee join department1 using(deptno) group by ename,job,sal,dname,location having count(empno)=1 Output:
  • 37. 36 Nested and Correlated subqueries 1. List Employees who are working in the Sales Department (Use Nested)? Solution: Select * from employee where deptno=(Select deptno from department where dname='Sales') Output: 2. List Departments in which at least one employee is working (Use Nested)? Solution: Select dname from department where deptno in(Select deptno from employee) Output: 3. Find the Names of employees who do not work in the same department of Scott? Solution: Select ename from employee where deptno<>(Select deptno from employee where ename='Scott') Output:
  • 38. 37 4. List departments (dept details) in which no employee is working (use nested)? Solution: Select * from department where deptno not in(Select deptno from employee) Output: 5. List Employees who are drawing the Salary more than the Average salary of DEPTNO 20.Also ensure that the result should not contain the records of DEPTNO 20? Solution: Select * from employee where deptno!=10 and sal>(Select avg(sal) from employee where deptno=10 group by deptno) Output: 6. List Employee names drawing Second Maximum Salary? Solution: Select * from employee where sal=(Select max(sal)from employee where sal<(Select max(sal)from employee)) Output: 7. List the Employee Names, Job & Salary for those employees who are drawing minmum salaries for their department (Use Correlated)?
  • 39. 38 Solution: Select deptno,ename,job,sal from employee o where sal=(Select min(sal) from employee i where o.deptno=i.deptno) Output: 8. List the highest paid employee for each department using( correlated sub query)? Solution: Select * from employee e where sal=(Select max(sal) from employee i where i.deptno=e.deptno) Output: 9. List Employees working for the same job type as of ALLEN and drawing more than him (use Self Join)? Solution: Select e.* from employee e join employee f on e.sal>f.sal and e.job=f.job where f.ename='Allen' Output:
  • 40. 39