All About SQL Database
SQL is a database language which is an acronym of the Structure query language. SQL is a relational database that is used to manage data efficiently. Data is stored in SQL in rows and columns. It is a widely used database in the back end nowadays. SQL was designed by Donald D Chamberlin & Raymond F Boyce.
SQL can hold each and every data type consisting of numeric digits, alphanumeric digits, alphabets, ASCII characters, string, and binary data. You can perform various operations such as Table Creation, deletion, fetching data, and manipulating values.
Uses of SQL
- SQL is used to create a database to store data in tables.
- We can easily modify and update data in the database using SQL.
- We can retrieve our previous data using SQL from the database.
- SQL provides a wide range of datatype to store in it.
- We can easily analyze data using various commands of SQL.
- Delete Records in the database using SQL.
- SQL Provides Integrity of data.
- We Can Join or connect two databases with each other using SQL.
DBMS uses SQL as their Database language
- MYSQL
- Informix
- Sybase
- Ingres
- MSSQL
- MS Access
Types of SQL
- DML - Data Manipulation Language
- DDL - Data Definition Language
- DQL - Data Query Language
- TCL - Transaction Control Language
- DCL - Data Control Language
What is Database?
Pre Requisite to learn SQL
Keywords in SQL
Keywords | Description |
---|---|
CREATE | Creates database |
ADD | Adds column |
ASC | Result in Ascending Order |
DELETE | Deletes a row |
FROM | Specifies a table |
JOIN | Join tables |
ORDER BY | Sort values in any order |
SELECT | Select a row |
WHERE | Specifies any condition |
TABLE | Creates a table |
COUNT | Count the result |
MAX | Maximum value |
MIN | Minimum Value |
DROP | Delete a field |
REVERSE | Reverse the string |
ASCII | ASCII value |
CONCAT | Add strings |