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
Insiders guide to clinical Medicine.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Cell Structure & Organelles in detailed.
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Insiders guide to clinical Medicine.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Cell Structure & Organelles in detailed.
Basic Mud Logging Guide for educational purpose
Pharma ospi slides which help in ospi learning
Cardiovascular Pharmacology for pharmacy students.pptx
Microbial disease of the cardiovascular and lymphatic systems
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial diseases, their pathogenesis and prophylaxis
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
01-Introduction-to-Information-Management.pdf
O7-L3 Supply Chain Operations - ICLT Program
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Open Quiz Monsoon Mind Game Final Set.pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Anesthesia in Laparoscopic Surgery in India
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
FourierSeries-QuestionsWithAnswers(Part-A).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