SlideShare a Scribd company logo
1 of 4
Download to read offline
SQL Terms You Should Know Before You Start
Database Testing
To reach the limits of a good SQL Database Tester, one should have a profound knowledge of
the SQL basics. The entry-level knowledge will provide you with a basic and clear
understanding of the queries that we are going to use in our day-to-day SQL database
manual testing scenario.
So, let's start with some basic terms that should be known before learning SQL Database
Testing.
SQL Terms:
Database:
A database is a storage system that has a collection of data/ information. The abbreviation
used for the Database is DB.
Relational Database:
Relational DB stores the data in the form of a Table that can be easily retrieved, updated, or
managed. You can organize data in the Table using columns, rows, and indexes to make it
easier to find the relevant information.
Popular Databases:
There are multiple DB(s), but here are some most popular Databases, such as MySQL, Oracle
DB, Mongo DB, SQL Server, Cassandra, Postgres SQL.
SQL:
SQL is the language to communicate with the DB. SQL commands help you to store, process,
analyze, and manipulate databases.
Features of SQL:
SQL lets you access any data within the RDBMS (Relational Database Management System).
SQL is very Fast in retrieving a large amount of data efficiently. SQL is versatile as it works
with multiple DB(s). SQL helps you manage DB(s) without coding knowledge.
Application of SQL:
SQL is used to create DB, define its structure, and perform many functions. It's also used to
manage the already stored Data. It is a powerful language for entering the information,
modifying it, and extracting the data from the DB. It is mainly used as Client/Server-side
language to connect the front end with the back end.
Relationships:
There are different kinds of Database Relationships. You need to know before jumping into
SQL.
One-to-one relationships:
One to One Relationship has been elaborated as one single element has been linked or
assigned to the other single element of another entity.
E.g., One employee can have only one I - card, and one I – card is given to only one person.
One to many relationships:
One to Many Relationships has been defined as one element linked or associated with many
other elements of the other entity.
If we take shopping orders as an example, one customer can book many orders, but the
particular order has its unique customer.
Many-to-one relationships:
Many to One relationships can be defined as "Many elements of one entity have been
attached or linked to only a single element of the other".
Taking the example of an education course would be an excellent fit for this relationship. As
many students with the same name have the Roll No's, but the unique Roll No's have been
assigned to only one student.
Many to many relationships:
Many to Many Relationships have been defined as "Many elements of one Entity can be
linked or attached with the many elements of the other Entity".
E.g., One employee has been assigned to many projects, and at the same one project has
many employees working on it.
Attributes:
Attribute derives the property of any Entity. Just like Entity has been shown in a Rectangular
Shape the same way an Attribute is shown in Oval Shape (). There are even many types of
attributes which are explained below:
Key attribute:
Key Attribute is an Attribute that has a unique value for the selected Entity. It can easily be
identified as its name is mentioned in an Underlined manner. We can take Student’s Roll No
as its Key Attribute by considering the Student as an Entity.
Composite attribute:
Composite attributes are those used in a hybrid manner for any entity. We can easily classify
the composite attribute as it's seen in Oval shape and further connected to other oval-
shaped attributes. For example, we can take a Name as a Composite Attribute that can have
multiple attributes such as First Name and Last Name as its derived attributes.
Multivalued attribute:
An attribute that has or possesses more than one value is considered a Multivalued
attribute. It can easily be shown with the Double Oval shape. Let's take an example of the
student entity having two or more phone Numbers. So, here phone numbers can play the
role of the Multivalued Attribute.
Derived attribute:
An attribute derived from the other attribute can be considered as a Derived Attribute. It can
easily be classified as it has been shown in the Dotted Oval shape. We can take the Age of
the Student as its derived attribute for the student entity.
Conclusion:
Here we conclude by gaining the basic knowledge that is a must before becoming the SQL
Programmer. After learning this, you can proceed to the next step. It is related to the
installation process of My SQL Workbench.

More Related Content

Similar to sql-terms-you-should-know.pdf

Entity Relationship Diagram – ER Diagram in DBMS.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptxEntity Relationship Diagram – ER Diagram in DBMS.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptx
sukrithlal008
 
Ube Databases
Ube DatabasesUbe Databases
Ube Databases
Dang Tuan
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
SURBHI SAROHA
 
Unit1 rdbms study_materials
Unit1 rdbms study_materialsUnit1 rdbms study_materials
Unit1 rdbms study_materials
gayaramesh
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Slideshare
 
08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
koolkampus
 

Similar to sql-terms-you-should-know.pdf (20)

Data Models & Introduction to UML
Data Models & Introduction to UML Data Models & Introduction to UML
Data Models & Introduction to UML
 
Entity Relationship Diagram – ER Diagram in DBMS.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptxEntity Relationship Diagram – ER Diagram in DBMS.pptx
Entity Relationship Diagram – ER Diagram in DBMS.pptx
 
The ‘discovery to delivery’ DLF reference model
The ‘discovery to delivery’ DLF reference modelThe ‘discovery to delivery’ DLF reference model
The ‘discovery to delivery’ DLF reference model
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
Ube Databases
Ube DatabasesUbe Databases
Ube Databases
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
 
E_R-Diagram (2).pptx
E_R-Diagram (2).pptxE_R-Diagram (2).pptx
E_R-Diagram (2).pptx
 
Er model
Er modelEr model
Er model
 
Unit 2-Data Modeling.pdf
Unit 2-Data Modeling.pdfUnit 2-Data Modeling.pdf
Unit 2-Data Modeling.pdf
 
Unit1 rdbms study_materials
Unit1 rdbms study_materialsUnit1 rdbms study_materials
Unit1 rdbms study_materials
 
Unit1 rdbms study_materials-converted (1) (1)
Unit1 rdbms study_materials-converted (1) (1)Unit1 rdbms study_materials-converted (1) (1)
Unit1 rdbms study_materials-converted (1) (1)
 
Data Modeling Er
Data Modeling ErData Modeling Er
Data Modeling Er
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
SQL.pptx
SQL.pptxSQL.pptx
SQL.pptx
 
Day 1 SQL.pptx
Day 1 SQL.pptxDay 1 SQL.pptx
Day 1 SQL.pptx
 
Jobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptxJobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptx
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
 

More from PixelQA

More from PixelQA (9)

feature-to-include-in-a-fleet-management-software.pdf
feature-to-include-in-a-fleet-management-software.pdffeature-to-include-in-a-fleet-management-software.pdf
feature-to-include-in-a-fleet-management-software.pdf
 
healthcare-web-development-trends-how-to-stay-updated-with-latest-ones.pdf
healthcare-web-development-trends-how-to-stay-updated-with-latest-ones.pdfhealthcare-web-development-trends-how-to-stay-updated-with-latest-ones.pdf
healthcare-web-development-trends-how-to-stay-updated-with-latest-ones.pdf
 
top-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdftop-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdf
 
building-a-secure-medical-app-with-dot-net.pdf
building-a-secure-medical-app-with-dot-net.pdfbuilding-a-secure-medical-app-with-dot-net.pdf
building-a-secure-medical-app-with-dot-net.pdf
 
why-choose-.net-for-your-next-iot-project.pdf
why-choose-.net-for-your-next-iot-project.pdfwhy-choose-.net-for-your-next-iot-project.pdf
why-choose-.net-for-your-next-iot-project.pdf
 
the-ultimate-guide-to-telemedicine-app-development-process.pdf
the-ultimate-guide-to-telemedicine-app-development-process.pdfthe-ultimate-guide-to-telemedicine-app-development-process.pdf
the-ultimate-guide-to-telemedicine-app-development-process.pdf
 
Umbraco Migration.pdf
Umbraco Migration.pdfUmbraco Migration.pdf
Umbraco Migration.pdf
 
Essential Testing Metrics For Measuring Quality Assurance
Essential Testing Metrics For Measuring Quality AssuranceEssential Testing Metrics For Measuring Quality Assurance
Essential Testing Metrics For Measuring Quality Assurance
 
What is Software Quality Assurance.pdf
What is Software Quality Assurance.pdfWhat is Software Quality Assurance.pdf
What is Software Quality Assurance.pdf
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 

sql-terms-you-should-know.pdf

  • 1. SQL Terms You Should Know Before You Start Database Testing To reach the limits of a good SQL Database Tester, one should have a profound knowledge of the SQL basics. The entry-level knowledge will provide you with a basic and clear understanding of the queries that we are going to use in our day-to-day SQL database manual testing scenario. So, let's start with some basic terms that should be known before learning SQL Database Testing. SQL Terms: Database: A database is a storage system that has a collection of data/ information. The abbreviation used for the Database is DB. Relational Database: Relational DB stores the data in the form of a Table that can be easily retrieved, updated, or managed. You can organize data in the Table using columns, rows, and indexes to make it easier to find the relevant information. Popular Databases: There are multiple DB(s), but here are some most popular Databases, such as MySQL, Oracle DB, Mongo DB, SQL Server, Cassandra, Postgres SQL.
  • 2. SQL: SQL is the language to communicate with the DB. SQL commands help you to store, process, analyze, and manipulate databases. Features of SQL: SQL lets you access any data within the RDBMS (Relational Database Management System). SQL is very Fast in retrieving a large amount of data efficiently. SQL is versatile as it works with multiple DB(s). SQL helps you manage DB(s) without coding knowledge. Application of SQL: SQL is used to create DB, define its structure, and perform many functions. It's also used to manage the already stored Data. It is a powerful language for entering the information, modifying it, and extracting the data from the DB. It is mainly used as Client/Server-side language to connect the front end with the back end. Relationships: There are different kinds of Database Relationships. You need to know before jumping into SQL. One-to-one relationships: One to One Relationship has been elaborated as one single element has been linked or assigned to the other single element of another entity. E.g., One employee can have only one I - card, and one I – card is given to only one person. One to many relationships: One to Many Relationships has been defined as one element linked or associated with many other elements of the other entity. If we take shopping orders as an example, one customer can book many orders, but the particular order has its unique customer. Many-to-one relationships: Many to One relationships can be defined as "Many elements of one entity have been attached or linked to only a single element of the other". Taking the example of an education course would be an excellent fit for this relationship. As many students with the same name have the Roll No's, but the unique Roll No's have been assigned to only one student. Many to many relationships: Many to Many Relationships have been defined as "Many elements of one Entity can be linked or attached with the many elements of the other Entity". E.g., One employee has been assigned to many projects, and at the same one project has many employees working on it.
  • 3. Attributes: Attribute derives the property of any Entity. Just like Entity has been shown in a Rectangular Shape the same way an Attribute is shown in Oval Shape (). There are even many types of attributes which are explained below: Key attribute: Key Attribute is an Attribute that has a unique value for the selected Entity. It can easily be identified as its name is mentioned in an Underlined manner. We can take Student’s Roll No as its Key Attribute by considering the Student as an Entity. Composite attribute: Composite attributes are those used in a hybrid manner for any entity. We can easily classify the composite attribute as it's seen in Oval shape and further connected to other oval- shaped attributes. For example, we can take a Name as a Composite Attribute that can have multiple attributes such as First Name and Last Name as its derived attributes. Multivalued attribute: An attribute that has or possesses more than one value is considered a Multivalued attribute. It can easily be shown with the Double Oval shape. Let's take an example of the student entity having two or more phone Numbers. So, here phone numbers can play the role of the Multivalued Attribute.
  • 4. Derived attribute: An attribute derived from the other attribute can be considered as a Derived Attribute. It can easily be classified as it has been shown in the Dotted Oval shape. We can take the Age of the Student as its derived attribute for the student entity. Conclusion: Here we conclude by gaining the basic knowledge that is a must before becoming the SQL Programmer. After learning this, you can proceed to the next step. It is related to the installation process of My SQL Workbench.