In simple terms, SQL is standard that is use to access database and for modifying data in the database.
SQL is Structured Query Language, it allows to access data inside database. SQL follows an ANSI standard (American national standards institute).
SQL lets you to communicate with database and using SQL you can
- Execute queries against database
- Insert data to table inside database
- Delete and modify data
- Create new database, table, stored procedure, views and function
- Assign permissions to other user to access database.
If you are building new website and want to store data in database then you can use one of the RDBMS database like SQL Server, Oracle , Mysql, MS Access and so on
RDBMS refer as Relational Database management System, data stores in RDBMS in the form table.
Table is collection of logically related data and consists of columns and rows.
RDBMS provide security and enforce constraints to avoid invalid data in tables. It is standard for modern databases like MS SQL Server, Oracle, MySQL and DB2
SQL Basics Objects
In any RDBMS system, There are some basic objects that are common to stored data inside database. Basic database objects are listed below
- Stored Procedure
- Database Security
What is Table ?
Database contains one or more table, each table has rows and column and identified by tablename like CustomerOrder, CustomerDetails so on
In this example, Columns name are vertical order and rows are in horizontal order. Read more about how to create table