DEV Community

silambarasan rajendran
silambarasan rajendran

Posted on

1 1 1 1 1

What is a Database? An Introduction

What is DataBase?
A database is a system that stores information so you can easily find, add, or change it later.

To work with a database, we use SQL (Structured Query Language), which is a special language that helps us ask the database to get, add, or change data.

An RDBMS (Relational Database Management System) is the software that manages the database. It organizes the data in tables, making it easy to relate different pieces of information. Examples of RDBMS include MySQL, PostgreSQL, and Oracle

DDL (Data Definition Language) and DML (Data Manipulation)

  1. DDL (Data Definition Language)
    DDL is about the structure of the database (creating, changing, or deleting tables).
    CREATE TABLE students (id INT, name VARCHAR(50));

  2. DML (Data Manipulation Language)
    DML commands are used to manipulate the data stored within the database. These commands are used for adding, updating, deleting, and querying data.
    SELECT * FROM students;

----------------- End of the Blog ----------------------

AWS Q Developer image

Your AI Code Assistant

Ask anything about your entire project, code and get answers and even architecture diagrams. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Start free in your IDE

Top comments (0)

Billboard image

Try REST API Generation for MS SQL Server.

DevOps for Private APIs. With DreamFactory API Generation, you get:

  • Auto-generated live APIs mapped from database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay