SQL_PL-SQL
SQL_PL-SQL
SQL
1. RDBMS Concept
2. Data Type
3. Select Statement
a. Projection All Columns / Specific Columns
b. Arithmetic Operation in Column
c. Handling Null Value and NVL & NVL2 Function
d. Column Aliasing / Table Aliasing
e. Literals in Oracle
f. Concatenation Operator and CONCAT Function
g. Distinct and Unique Suppress Duplicate Value
h. Comparison Operator and Logical Operator (Precedence) [ AND,OR, NOT]
i. Operator [BETWEEN – AND, IN, IS NULL, LIKE]
j. Order By Clause
4. SQL Function
a. Single Row Function
i. Character Function
1. Case Conversion Function
a. LOWER ()
b. UPPER()
c. INITCAP()
d. CONCAT()
e. SUBSTRING()
f. LENGTH()
g. INSTRING()
h. LPAD()
i. RPAD()
j. LTRIM()
k. RTRIM()
l. TRIM()
m. REPLACE()
n. TRANSLATE()
o. CHR()
p. ASCII()
ii. Number
1. ROUND()
2. TRUNCATE()
3. CEIL()
4. FLOOR()
5. MODULUS()
6. POWER()
7. SQUARE ROOT()
8. ABSOLUTE()
9. SIGN()
iii. Date
1. SYSDATE
2. DATE Arithmetic
3. ADD_MONTHS()
4. MONTHS_BETWEEN()
5. NEXT_DAY()
6. LAST_DAY()
7. Rounding Dates ROUND ()
8. Truncating Dates TRUNC()
iv. Conversion Function
(Implicit and Explicit)
1. TO_CHAR (NUMBER CONVERSION)
a. Decimal Indicator
b. Scientific Notation
c. Group Separator
d. Local Currency
e. Trailing Minus
f. Negative Number
g. Roman Number
h. Sign Indicator
i. Hexadecimal
j. Dollar Indicator
k. Zero Indicator
l. Digit Place marker
2. TO_CHAR (DATE CONVERSION)
a. AD / BC Indicator
b. Meridian Indicator
c. Century Indicator
d. Numeric Week Day
e. Week day Spelling
f. Month Day
g. Year Day
h. Abbreviated Week Day
i. ISO Standard Year with Indicator
j. ISO Standard 4 Digit Year Indicator
k. Four Digit Year Indicator
l. Spelled year Indicator
m. Week of the Month Indicator
n. Year Week Indicator
o. Quarter of the Year
p. Julian Day
q. Numeric Month
r. Abbreviated Month
s. Month Spelling
t. Twelve Hour Clock
u. Twenty Four Hour Clock
v. Minutes Indicator
w. Roman Month
x. Seconds Indicator
y. Second Past Midnight
z. Date Format Punctuators
i. Date Format Elements Suffixes
ii. Fill Mode Indicator
iii. Format Exact
3. TO_DATE
4. TO_NUMBER
v. General Function
1. NVL
2. DECODE
5. CREATE Table Without / With Constraint
5A. ALTER TABLE (MODIFY)
6. Constraint And Constraint Maintenance
a. Integrity
b. PRIMARY KEY
c. FOREIGN KEY
d. NOT NULL
e. UNIQUE
f. CHECK
g. DEFAULT
h. REF
i. ON DELETE SET NULL // ON DELETE CASCADE
j. Composite Primary Key // Foreign Key
k. Add / Drop / View / Enable / Disable / Modify Constraints
7. INSERT Data To Table
a. Simple
b. Using Substitution Variable
c. Using Conversion Function
8. GROUP Function and GROUP BY Clause // HAVING Clause with Function Nesting
a. AVG
b. SUM
c. MAX
d. MIN
e. STDDEV
f. VARIANCE
g. COUNT
9. MISCALLANEOUS FUNCTION
a. GREATEST
b. LEAST
c. USER
d. USERENV
e. UID
f. VSIZE
g. SOUNDEX
10. JOIN
a. Equi Join/ Simple Join / Inner Join
b. Non Equi Join
c. Inner Join
d. Outer Join
i. Left Outer Join
ii. Right Outer Join
iii. Full Outer Join
e. Self Join
f. Cartesian Product
g. ANSI Join Syntax (Cross Join, Natural Join, Using Clause, Inner Join, Self Join, Right
Outer/ Left
Outer/ Full Join)
h. Table Aliasing And Qualifying Column Name
11. SUB QUERY
a. Single Row
i. Group Function and Having Clause
b. Multi Row
i. IN , ANY , All Operator
c. Multi Column
i. Pair Wise
ii. Non Pair Wise
d. Handling NULL Values in Subquery
e. In From Clause (Inline View / Co relational Subquery)
f. Subselect Staement
g. Corelated Subquery
i. Exists / Not Exists Operator / With Clause
12. Hierarchical / Recursive Subquery
a. Start With Clause
b. Connect by
i. Connect by Prior
c. Where Clause
d. New Feature in Hierarchical Queries
i. CONNECT_BY_ROOT
ii. CONNECT_BY_ISCYCLE
iii. CONNECT_BY_ISLEAF
iv. SYS_CONNECT_BY_PATH
v. NOCYCLE
vi. SIBLINGS
vii. CONNECT BY LEVEL
13. Pseudo Columns In Oracle
a. Curval And Nextval
b. Sequence Schema Object
c. Increment By Clause
d. Minvalue Clause
e. Nomivalue Clause
f. Maxvalue Clause
g. Nomaxvalue Clause
h. Cycle Clause
i. Nocycle Clause
j. Cache Clause
k. Order Clause
l. No Order Clause
m. Level Pseudo Column (Start With Clause, Connect By Clause)
n. Rowid Pseudo Column
o. Rownum Pseudo Column
14. Set Operator
a. Union Operator
b. Union All Operator
c. Intersect Operator
d. Minus Operator
15. Views
a. Create Or Replace
b. Force
c. No force
d. Alias Name
e. With Check Option
f. Constraint
g. With Read Only
h. Views In Data Dictionary
i. Creating Views With Column Declaration
j. Create Table With Data Using A View
k. Dropping View
l. Using Views To Create On The Fly Tables
m. Performing DML Operation In View
16. Indexes
a. Normal Indexes
b. Bitmap Indexes
c. Partitioned Indexes
d. Function Based Indexes
e. Domain Indexes
f. Dropping An Indexes
17. Fundamental Of Data Base Security
a. Grant Command
b. Revoke Command
c. System Privileges
d. Object Privileges
e. Working With Roles
f. Working With Synonyms
g. Drop Synonyms
18. OLAP Feature In Oracle
a. Rollup Option
b. Cube Option
c. Decode Function
d. Materialized View
e. Grouping Id Function
f. Analytic Function (Rank , Dense Rank)
g. Applying Rollup, Cube and Grouping Sets
h. Null First And Null Last Clause
i. Windows Function
j. Lag And Lead Function
19. Data Updating And Deletion
a. Merge Statement
b. Delete Statement
c. Commit
d. Rollback
e. Set Unused Option
f. Drop Unused Columns Option
g. Dropping A Comment
h. On The Fly Concept
20. Object Oriented Table
a. Object Table
b. Insert Using Constructor Method
c. Relational Insert
d. Updating Data
e. Deleting Data
f. REF( ) Function
g. DEREF ( ) Function
h. Dangling Ref
i. Generating OIDS
j. MAKE REF( ) Function
PLSQL
ADVANCE STUFF