top of page

Introduction to Database & SQL

  • Writer: Jha Chandan
    Jha Chandan
  • Jul 29, 2020
  • 2 min read

Updated: Nov 10, 2020

It is very important to understand the database and SQL before learning any DBMS.


DATABASE


So by definition, a database is a structured collection of data. It can be accessed and manage by the user very easily. It allows us to organize data into tables, rows, columns, and indexes to find the relevant information very quickly.

Means we deal with data in our day to day life, for example: Whenever we search and sort any stuffs like clothes, groceries, home goods etc in shopping cart from an e-commerce web portal, that shopping cart is a database. Our music playlist, photo video gallery etc all are a kind of database.

The data relating to each other by nature, e.g., a product belonged to a product category and associated with multiple tags. Therefore, we use the term relational database.


In the relational database, we model data like products, categories, tags, etc., using tables which contain columns and rows. We can imagine a table similar like a spreadsheet. A table may relate to another table using a relationship, e.g., one-to-one and one-to-many relationships.


Because we deal with a significant amount of data, we need a way to define the databases, tables, etc., and process data more efficiently. Besides, we want to turn the data into information and so for this SQL (the language of the relational database) comes to play.

market of clay pots

SQL – The language of the relational database


SQL (sequel, pronounced "ess-que-el") stands for the Structured Query Language. It is particularly useful in handling structured data, i.e. data incorporating relations among entities and variables. In short SQL is the standardized language used to communicate with a database.

According to ANSI (American National Standards Institute), SQL is the standard language for relational database management systems.

It contains three parts:

  1. Data definition language includes statements that help you define the database and its objects, e.g., tables, views, triggers, stored procedures, etc.

  2. Data manipulation language contains statements that allow you to update and query data.

  3. Data control language allows you to grant the permissions to a user to access specific data in the database.

SQL statements are used to perform tasks such as update data on a database, or retrieve data from a database. Some common relational database management systems that use SQL are: Oracle, Sybase, Microsoft SQL Server, Access, Ingres, etc. Although most database systems use SQL, most of them also have their own additional proprietary extensions that are usually only used on their system. However, the standard SQL commands such as "Select", "Insert", "Update", "Delete", "Create", and "Drop" can be used to accomplish almost everything that one needs to do with a database.

Comments


jc_logo.png

Hi, thanks for stopping by!

Welcome to my “Muse & Learn” blog!
Muse a little, learn a lot.✌️

 

Here you’ll find practical SQL queries, troubleshooting tips with fixes, and step-by-step guidance for common database activities. And of course, don’t forget to pause and muse with us along the way. 🙂
 

I share insights on:​​

  • Db2

  • MySQL

  • SQL Server

  • Linux/UNIX/AIX

  • HTML …and more to come!
     

Whether you’re just starting out or looking to sharpen your DBA skills, there’s something here for you.

Let the posts
come to you.

Thanks for submitting!

  • Instagram
  • Facebook
  • X
2020-2025 © TechWithJC

Subscribe to Our Newsletter

Thanks for submitting!

  • Facebook
  • Instagram
  • X

2020-2025 © TechWithJC

bottom of page