SlideShare a Scribd company logo
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
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.
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)
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
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.
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.
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.
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.
Reference :
1. Baron Schwartz, High Performance MySQL, O’Reilly,2012.
2. Vikram Vaswani, The Complete Reference MySQL, McGraw Hill
Educations.
Thank You

More Related Content

PDF
Sql tutorial
PPTX
DBMS week 2 hjghg hvgfhgf,3 BSCS 6th.pptx
PPTX
Cursors, triggers, procedures
PPT
Interactive SQL: SQL, Features of SQL, DDL & DML
PDF
Oracle Sqlplus Pocket Reference 3rd Ed Jonathan Gennick
PDF
PT- Oracle session01
PDF
Oracle SQL Plus pocket reference 3rd ed Edition Jonathan Gennick
PDF
SQL Commands
Sql tutorial
DBMS week 2 hjghg hvgfhgf,3 BSCS 6th.pptx
Cursors, triggers, procedures
Interactive SQL: SQL, Features of SQL, DDL & DML
Oracle Sqlplus Pocket Reference 3rd Ed Jonathan Gennick
PT- Oracle session01
Oracle SQL Plus pocket reference 3rd ed Edition Jonathan Gennick
SQL Commands

Similar to MySQL(PLSQL) Syllabus and SQL vs SQL * plus Session - 01.pptx (20)

PPT
PPTX
Introduction to SQL, SQL*Plus
PDF
Database Systems - Introduction to SQL (Chapter 3/1)
PPTX
Database part2-
PDF
Dbmsunit v
PDF
Oracle Introduction
PPTX
Lab1 select statement
PDF
Sql server difference faqs- 6
PPTX
MSAvMySQL.pptx
PPTX
Structure query language (sql)
DOCX
Oracle Fundamental and PL-SQL.docx
DOC
PDF
SQL_NOTES.pdf
PPTX
Structure Query Language (SQL).pptx
PPTX
introduction to structural query language
PPTX
SQL for interview
PPTX
What is SQL Server?
PPTX
Sql presntation
PPTX
SQLBasic to advance for the beggineers.pptx
PDF
SQL Tutorial
Introduction to SQL, SQL*Plus
Database Systems - Introduction to SQL (Chapter 3/1)
Database part2-
Dbmsunit v
Oracle Introduction
Lab1 select statement
Sql server difference faqs- 6
MSAvMySQL.pptx
Structure query language (sql)
Oracle Fundamental and PL-SQL.docx
SQL_NOTES.pdf
Structure Query Language (SQL).pptx
introduction to structural query language
SQL for interview
What is SQL Server?
Sql presntation
SQLBasic to advance for the beggineers.pptx
SQL Tutorial
Ad

Recently uploaded (20)

PDF
Complications of Minimal Access Surgery at WLH
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
master seminar digital applications in india
PDF
Computing-Curriculum for Schools in Ghana
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
Complications of Minimal Access Surgery at WLH
Final Presentation General Medicine 03-08-2024.pptx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
A systematic review of self-coping strategies used by university students to ...
master seminar digital applications in india
Computing-Curriculum for Schools in Ghana
STATICS OF THE RIGID BODIES Hibbelers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Anesthesia in Laparoscopic Surgery in India
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Microbial disease of the cardiovascular and lymphatic systems
Abdominal Access Techniques with Prof. Dr. R K Mishra
O5-L3 Freight Transport Ops (International) V1.pdf
Ad

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