Professional Documents
Culture Documents
SQL Notes
SQL Notes
===========
SELECTION:- iF we want to retrive the data from the database table by selecting both row and columns t
hen we should go
for selection.
i)WHERE clause:-
waqtd the ename and deptno of employees those are working in dept no =20.
waqtd the name of the employees and salary,those sal is greater than 3000.
WAQTD THE NAME AND HIREDATE OF THE EMPLOYEESLOYEES THOSE ARE HIRED ON 9-JUNE-
1981
WAQTD THE DETAILS OF THE EMPLOYEE THOSE ARE HIRED AFTER 1981.
WAQTD THE DETAILS OF EMPLOYEE WORKING AS ANALYST.
OPERATOR
=========
1)Arithmetic
2)Concatination:-
3)Logical
4)Comparison
5)Relational
6)Special:---
i)IN
ii)NOT IN
iii) IS
iv) IS NOT
v)BETWEEN
vi)NOT BETWEEN
vii)LIKE
viii)NOT LIKE
Concatination:- It is used to join 2 strings (||).