SlideShare a Scribd company logo
2
Most read
7
Most read
12
Most read
SQL (Data Base)
Data is a useful information.
Which helps to make a decision.
Set of information of any entity is known as data.
Example:
Employee information.(Name,job,sal etc…)
Product information
Sales information
• What is Data?
•What is Database ?
Place where you store data
A database is a systematic collection of data.
Databases support storage and manipulation of data.
Databases make data management easy.
Ex:
An online telephone directory.
Electricity service provider
Facebook.
• What is a Database Management
System (DBMS)?
Database Management System (DBMS) is a collection of
programs which enables its users to access database,
manipulate data, reporting / representation of data .
Data base combined with management system services is
known as DBMS.
Oracle 2,
 Oracle 3,
Oracle 4,
Oracle 5,
Oracle 6,
Oracle 7,
Oracle 8i,
Oracle 9i,
Oracle 10g,
Oracle 11g
and the latest to hit the market is Oracle 12c. here ‘i’ stands for Internet, ‘g’ stands for Grid /
Grid computing and C for Cloud Computing .
• Here the services are.
Entering new data
Updating old data with new data
Deleting unwanted data
Authenticating the users
Providing security
• The s/w which is widely used today is Oracle.
• The different versions of Oracle starting from the earliest to the latest are –
•What is Relational Database?
 It is the collection of relations or two dimensional tables
 Dr E.F Codd proposed the relational model for database system in 1969
 Relational Model Consists of following
 Collections of Objects or Relations
 Set of Operators to act on the relations
 Data integrity for accuracy and consistency.
( Data integrity is the one which contains correct data in the database)
 To restrict storing wrong data in database we use data integrity.
 To Preserve data integrity we have two types
1.DataType:
2.Constraints:
Data Type is a type of data which you store in each column.
A constraint is a condition which restricts the invalid data in the table.
A constraint can be provided for a column of a table.
•Constraints
A constraint is a condition which restricts the invalid
data in the table.
A constraint can be provided for a column of a table.
•Types of Constraints
 NOT NULL
 UNIQUE
 Primary Key
 Foreign Key
 Check
• Null
 NULL is nothing, it is neither zero nor blank space
 It will not occupy any space in the memory
 Two NULLS are never same in Oracle
 NULL represents unknown value
 Any arithmetic operation we perform on NULL will
result in NULL itself. For ex, 100000 + NULL = NULL ;
100000 * NULL = NULL
•Not Null
 NOT NULL will ensure at least some value should
be present in a column
• Unique
It will not allow any duplicates in a column
UNIQUE column can take multiple NULL (s)
• Primary Key
It is the combination of NOT NULL and UNIQUE
Only one PK is allowed in a table
PK identifies a record uniquely in a table
Creation of PK is not mandatory, but it is highly
recommended to create
Candidate Key: Eligible to become PK
Alternate Key: Eligible to become primary key but not chosen
as PK
CK=PK+AK
AK=CK-PK
• Foreign Key
FK creates relationship between any two tables
FK is also called as referential integrity constraints
FK is created on the child table
FK can take both NULL and duplicate values
To create FK, the master table should have PK defined on the
common column of the master table
We can have more than 1 FK in a given table
•Check
It is used to provide additional validations as per the
customer requirements.

More Related Content

What's hot (20)

PPTX
Database Testing
Siva Kotilingam Pallikonda
 
PDF
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Tushar B Kute
 
PDF
SQL Complete Tutorial. All Topics Covered
Danish Mehraj
 
PDF
An introduction to unit testing
Adam Stephensen
 
PPT
Database testing
Hrushikesh Wakhle
 
PDF
Selenium Automation Testing Interview Questions And Answers
Ajit Jadhav
 
PDF
Triggers and Stored Procedures
Tharindu Weerasinghe
 
PPT
Joins in SQL
Vigneshwaran Sankaran
 
PPT
Chapter03 Creating And Managing User Accounts
Raja Waseem Akhtar
 
PDF
Basic Java Programming
Math-Circle
 
PPTX
Data driven Automation Framework with Selenium
Edureka!
 
PDF
JAVA PPT Part-1 BY ADI.pdf
Prof. Dr. K. Adisesha
 
PPT
Php mysql ppt
Karmatechnologies Pvt. Ltd.
 
PPT
MYSQL.ppt
webhostingguy
 
PPTX
Introduction to SQL
Amin Choroomi
 
PDF
Selenium WebDriver with C#
srivinayak
 
PDF
Taller de PHP Básico
Stephenson Prieto
 
PPT
Java Basics for selenium
apoorvams
 
PPT
SQL Queries
Nilt1234
 
Database Testing
Siva Kotilingam Pallikonda
 
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Tushar B Kute
 
SQL Complete Tutorial. All Topics Covered
Danish Mehraj
 
An introduction to unit testing
Adam Stephensen
 
Database testing
Hrushikesh Wakhle
 
Selenium Automation Testing Interview Questions And Answers
Ajit Jadhav
 
Triggers and Stored Procedures
Tharindu Weerasinghe
 
Joins in SQL
Vigneshwaran Sankaran
 
Chapter03 Creating And Managing User Accounts
Raja Waseem Akhtar
 
Basic Java Programming
Math-Circle
 
Data driven Automation Framework with Selenium
Edureka!
 
JAVA PPT Part-1 BY ADI.pdf
Prof. Dr. K. Adisesha
 
MYSQL.ppt
webhostingguy
 
Introduction to SQL
Amin Choroomi
 
Selenium WebDriver with C#
srivinayak
 
Taller de PHP Básico
Stephenson Prieto
 
Java Basics for selenium
apoorvams
 
SQL Queries
Nilt1234
 

Viewers also liked (11)

PPTX
QSpiders - Aptitude Assignments
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Selenium Webdriver
Qspiders - Software Testing Training Institute
 
PPT
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Day1 Network Basics
Qspiders - Software Testing Training Institute
 
DOC
Manual Testing.
Dhanasekaran Nagarajan
 
PDF
Health Care Domain & Testing Challenges
Mindfire Solutions
 
PPS
QSpiders - Unix Operating Systems and Commands
Qspiders - Software Testing Training Institute
 
PDF
Core java complete notes - Contact at +91-814-614-5674
Lokesh Kakkar Mobile No. 814-614-5674
 
PPTX
Types of databases
PAQUIAAIZEL
 
DOC
Sql queries with answers
vijaybusu
 
QSpiders - Aptitude Assignments
Qspiders - Software Testing Training Institute
 
QSpiders - Selenium Webdriver
Qspiders - Software Testing Training Institute
 
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 
QSpiders - Day1 Network Basics
Qspiders - Software Testing Training Institute
 
Manual Testing.
Dhanasekaran Nagarajan
 
Health Care Domain & Testing Challenges
Mindfire Solutions
 
QSpiders - Unix Operating Systems and Commands
Qspiders - Software Testing Training Institute
 
Core java complete notes - Contact at +91-814-614-5674
Lokesh Kakkar Mobile No. 814-614-5674
 
Types of databases
PAQUIAAIZEL
 
Sql queries with answers
vijaybusu
 
Ad

Similar to QSpiders - SQL (Data Base) (20)

PPTX
HPD SQL Training - Beginner - 20220916.pptx
PatriceRochon1
 
PPTX
Sql introduction
Bhavya Chawla
 
PPTX
05 Create and Maintain Databases and Tables.pptx
MohamedNowfeek1
 
PPTX
unit-ii.pptx
NilamHonmane
 
PPTX
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
WrushabhShirsat3
 
PPTX
Unit 10 - Realtional Databases.pptxxxxxxxxx
vinothkumarg29
 
PPTX
DBMS information in detail || Dbms (lab) ppt
gourav kottawar
 
PPTX
SQL UNIT FOUR.pptxDiscDiscoverabilitDiscoverability Scorey Scoreoverability S...
sultanahimed3
 
PDF
SQL -Beginner To Intermediate Level.pdf
DraguClaudiu
 
PPTX
SQL Commands
Sachidananda M H
 
PDF
Steps towards of sql server developer
Ahsan Kabir
 
PDF
Building better SQL Server Databases
ColdFusionConference
 
PPTX
Presentation slides of Sequence Query Language (SQL)
Punjab University
 
PPTX
SQL things ace series of the thing useful
avinash4210singh
 
PDF
Mastering Oracle SQL & SQL*Plus for Beginners,
samirben82
 
PPT
ORACLE PL SQL
Srinath Maharana
 
PPTX
SQL.pptx for the begineers and good know
PavithSingh
 
PPTX
SQL POWERPOINT PRESENTATION ON SQL .pptx
alakeshbarua2
 
PPTX
Data Never Lies Presentation for beginners in data field.pptx
TusharAgarwal49094
 
PDF
Introduction to SQL..pdf
mayurisonawane29
 
HPD SQL Training - Beginner - 20220916.pptx
PatriceRochon1
 
Sql introduction
Bhavya Chawla
 
05 Create and Maintain Databases and Tables.pptx
MohamedNowfeek1
 
unit-ii.pptx
NilamHonmane
 
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
WrushabhShirsat3
 
Unit 10 - Realtional Databases.pptxxxxxxxxx
vinothkumarg29
 
DBMS information in detail || Dbms (lab) ppt
gourav kottawar
 
SQL UNIT FOUR.pptxDiscDiscoverabilitDiscoverability Scorey Scoreoverability S...
sultanahimed3
 
SQL -Beginner To Intermediate Level.pdf
DraguClaudiu
 
SQL Commands
Sachidananda M H
 
Steps towards of sql server developer
Ahsan Kabir
 
Building better SQL Server Databases
ColdFusionConference
 
Presentation slides of Sequence Query Language (SQL)
Punjab University
 
SQL things ace series of the thing useful
avinash4210singh
 
Mastering Oracle SQL & SQL*Plus for Beginners,
samirben82
 
ORACLE PL SQL
Srinath Maharana
 
SQL.pptx for the begineers and good know
PavithSingh
 
SQL POWERPOINT PRESENTATION ON SQL .pptx
alakeshbarua2
 
Data Never Lies Presentation for beginners in data field.pptx
TusharAgarwal49094
 
Introduction to SQL..pdf
mayurisonawane29
 
Ad

More from Qspiders - Software Testing Training Institute (20)

PPS
QSpiders - Variable Length-Subnet-Masks
Qspiders - Software Testing Training Institute
 
PPS
QSpiders - Upper layer-protocols
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Chapter 7 Debugging
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Chapter 4 Checkpoints
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Wonderlic Sample Question
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Chapter- 3 Synchronization point
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Presentation JMeter
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Memory (JVM architecture)
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Jdk Jvm Jre and Jit
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Simple replay and run time settings Loadrunner
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Major difference
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Introduction to HP Load Runner
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Interacting with My SQL Database
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Server Architecture
Qspiders - Software Testing Training Institute
 
PPTX
QSpiders - Installation and Brief Dose of Load Runner
Qspiders - Software Testing Training Institute
 
PPT
QSpiders - Good to Know Network Concepts
Qspiders - Software Testing Training Institute
 
PPT
QSpiders - Cloud computing(cloud server)
Qspiders - Software Testing Training Institute
 
PPT
QSpiders - Basic intel architecture
Qspiders - Software Testing Training Institute
 
QSpiders - Variable Length-Subnet-Masks
Qspiders - Software Testing Training Institute
 
QSpiders - Upper layer-protocols
Qspiders - Software Testing Training Institute
 
QSpiders - Chapter 7 Debugging
Qspiders - Software Testing Training Institute
 
QSpiders - Chapter 4 Checkpoints
Qspiders - Software Testing Training Institute
 
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
Qspiders - Software Testing Training Institute
 
QSpiders - Wonderlic Sample Question
Qspiders - Software Testing Training Institute
 
QSpiders - Chapter- 3 Synchronization point
Qspiders - Software Testing Training Institute
 
QSpiders - Presentation JMeter
Qspiders - Software Testing Training Institute
 
QSpiders - Memory (JVM architecture)
Qspiders - Software Testing Training Institute
 
QSpiders - Jdk Jvm Jre and Jit
Qspiders - Software Testing Training Institute
 
QSpiders - Simple replay and run time settings Loadrunner
Qspiders - Software Testing Training Institute
 
QSpiders - Introduction to HP Load Runner
Qspiders - Software Testing Training Institute
 
QSpiders - Interacting with My SQL Database
Qspiders - Software Testing Training Institute
 
QSpiders - Server Architecture
Qspiders - Software Testing Training Institute
 
QSpiders - Installation and Brief Dose of Load Runner
Qspiders - Software Testing Training Institute
 
QSpiders - Good to Know Network Concepts
Qspiders - Software Testing Training Institute
 
QSpiders - Cloud computing(cloud server)
Qspiders - Software Testing Training Institute
 
QSpiders - Basic intel architecture
Qspiders - Software Testing Training Institute
 

Recently uploaded (20)

PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PDF
Council of Chalcedon Re-Examined
Smiling Lungs
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
epi editorial commitee meeting presentation
MIPLM
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Controller Request and Response in Odoo18
Celine George
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
Council of Chalcedon Re-Examined
Smiling Lungs
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
Introduction to Indian Writing in English
Trushali Dodiya
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 

QSpiders - SQL (Data Base)

  • 2. Data is a useful information. Which helps to make a decision. Set of information of any entity is known as data. Example: Employee information.(Name,job,sal etc…) Product information Sales information • What is Data?
  • 3. •What is Database ? Place where you store data A database is a systematic collection of data. Databases support storage and manipulation of data. Databases make data management easy. Ex: An online telephone directory. Electricity service provider Facebook.
  • 4. • What is a Database Management System (DBMS)? Database Management System (DBMS) is a collection of programs which enables its users to access database, manipulate data, reporting / representation of data . Data base combined with management system services is known as DBMS.
  • 5. Oracle 2,  Oracle 3, Oracle 4, Oracle 5, Oracle 6, Oracle 7, Oracle 8i, Oracle 9i, Oracle 10g, Oracle 11g and the latest to hit the market is Oracle 12c. here ‘i’ stands for Internet, ‘g’ stands for Grid / Grid computing and C for Cloud Computing . • Here the services are. Entering new data Updating old data with new data Deleting unwanted data Authenticating the users Providing security • The s/w which is widely used today is Oracle. • The different versions of Oracle starting from the earliest to the latest are –
  • 6. •What is Relational Database?  It is the collection of relations or two dimensional tables  Dr E.F Codd proposed the relational model for database system in 1969  Relational Model Consists of following  Collections of Objects or Relations  Set of Operators to act on the relations  Data integrity for accuracy and consistency. ( Data integrity is the one which contains correct data in the database)  To restrict storing wrong data in database we use data integrity.  To Preserve data integrity we have two types 1.DataType: 2.Constraints: Data Type is a type of data which you store in each column.
  • 7. A constraint is a condition which restricts the invalid data in the table. A constraint can be provided for a column of a table. •Constraints A constraint is a condition which restricts the invalid data in the table. A constraint can be provided for a column of a table. •Types of Constraints  NOT NULL  UNIQUE  Primary Key  Foreign Key  Check
  • 8. • Null  NULL is nothing, it is neither zero nor blank space  It will not occupy any space in the memory  Two NULLS are never same in Oracle  NULL represents unknown value  Any arithmetic operation we perform on NULL will result in NULL itself. For ex, 100000 + NULL = NULL ; 100000 * NULL = NULL
  • 9. •Not Null  NOT NULL will ensure at least some value should be present in a column • Unique It will not allow any duplicates in a column UNIQUE column can take multiple NULL (s)
  • 10. • Primary Key It is the combination of NOT NULL and UNIQUE Only one PK is allowed in a table PK identifies a record uniquely in a table Creation of PK is not mandatory, but it is highly recommended to create Candidate Key: Eligible to become PK Alternate Key: Eligible to become primary key but not chosen as PK CK=PK+AK AK=CK-PK
  • 11. • Foreign Key FK creates relationship between any two tables FK is also called as referential integrity constraints FK is created on the child table FK can take both NULL and duplicate values To create FK, the master table should have PK defined on the common column of the master table We can have more than 1 FK in a given table
  • 12. •Check It is used to provide additional validations as per the customer requirements.