MySQL(PLSQL) Syllabus and SQL vs SQL * plus Session - 01.pptx
1. SEC 4(A) : MYSQL
Programme B.Sc
Subject Computer Science
Semester VI
Session No. 1
Topic MySQL(PLSQL) Syllabus and SQL vs SQL * plus
Created by Dr. H. Pruthviraj
2. UNIT-1
SQL Vs SQL * Plus : SQL Commands and Data types,
Operators and Expressions,
Introduction to SQL * Plus.
Managing Tables and Data :
Creating and Altering Tables ( Including constraints),
Data Manipulation Command like Insert, Update etc.
SELECT statement with WHERE, GROUP BY and HAVING,
ORDER BY, DISTINCT.
Special operator like IN, ANY, ALL, BETWEEN, EXISTS, LIKE
and JOIN.
Built in functions and
Other Database Objects, View, Synonyms, Index.
3. UNIT-2
Transaction Control Statements
Commit, Rollback, Savepoint.
Introduction to PL/SQL and SQL v/s PL/SQL.
PL/SQL Block Structure.
Language construct of PL/SQL.
(Variables, Basic Data types and Composite Data types,
Conditions and lopping etc.)
TYPE and ROWTYPE.
Using Cursor ( Implicit, Explicit)
4. Blue Print for SEC Skill Enhancement Course Paper Setting
• Scheme of evaluation as follows:
UNIT 2 Marks Questions 5 Marks Questions 10 Marks Questions
I 2 1 2
II 3 2 1
SEC Question paper contains 3 sections:
Section A:
5 Questions of 2 marks, Answer all questions 05 x 02 = 10 Marks
Section B:
3 Questions of 5 marks, Answer any 2 questions 02 x 05 = 10 Marks
Section C:
3 Questions of 10 marks, Answer any 2 questions 02 x 10 = 20 Marks
Total = 40 Marks
Writing Practical Internal Exam 10 Marks.
Total = 50 Marks
5. SQL
• SQL stands for structural query language.
• SQL is query language which is used for communication with oracle
server to access and modify data.
• IBM is invented SQL Language.
• It has been adopted by ISO (International Standard Organization) and
ANSI(American National Standard Institute).
• SQL is used to ask queries for the table.
• It involves DML, DDL, DCL commands to solve the SQL queries.
• SQL is always executed on database server.
• SQL uses RDBMS like MySQL Database, Oracle, MS SQL server,
Sybase, etc.
6. SQL * Plus
SQL*Plus is an interactive program that allows you to type in
and execute SQL statements.
It also enables you to type in PL/SQL code and send it to the
server to be executed.
SQL* Plus is one of the most common front end used to develop
and create stored PL/SQL functions and procedures.
SQL* Plus is a command line tool. It does not involve DDL,
DML, DCL like SQL.
7. If you are in windows environment and your database server is
somewhere on the network, so the following things happen:
SQL* plus transfers your sql query over the network on the database
server.
SQL* Plus waits for the reply from the database server.
The database server execute the query and transmit result to the SQL
* plus.
Then SQL * Plus display the query result on computer screen.
If you are not running in a networked windows environment, the
same thing happens. The only difference might be that the database
server and SQL * Plus is running on same physical machine.
8. DIFFERENCE BETWEEN SQL & SQL * PLUS
SQL SQL * plus
SQL is a language. SQL*Plus is a tool.
SQL is a query language used for the
communication with Oracle server to
access and modify the data.
SQL* Plus is a command line tool with which
you can send SQL queries to the server. Also, it
can help you format the query result.
SQL is invented by IBM.
SQL * Plus is a tool to use SQL language for
a database from Oracle corporation.
SQL can be simply used to ask queries,
i.e. it involves DML, DDL and DCL.
SQL * Plus is command line tool which
doesn’t involve DML, DDL and DCL.
In SQL, there is no continuation
character..
In SQL*Plus there is a continuation
character.
Keywords cannot be abbreviated in
SQL. Keywords can be abbreviated in SQL*Plus.
SQL uses functions to manipulate the
data.
SQL* plus uses commands to manipulate the
data.
9. Reference :
1. Baron Schwartz, High Performance MySQL, O’Reilly,2012.
2. Vikram Vaswani, The Complete Reference MySQL, McGraw Hill
Educations.
Thank You