In this article we will learn difference between of SQL vs Tsql vs Plsql.
SQL stands for Structured Query Language. So, SQL is a language, specifically, it's a language for Relational Databases.
In simple terms a relational database is a collection of tables to store data. The tables are usually related to each other by primary and foreign key constraints, hence the term Relational Database Management System, in short RDBMS.
For example, let's say we want to store our organisation Employees data. We create a database (EmployeesDB - I named it EmployeesDB, but you can give it any meaningful name you want) and in this database we create 3 tables.
Departments - To store the list of all departments
Gender - To store different genders (Male and Female for example)
Employees - To store the list of all employees
To create the database itself, tables, relationships and to insert, update, delete and even select data we use SQL - Structured Query Language. So, in simple terms, SQL is a database language, we use it on a Database to create database objects like tables, views, functions etc. We also use it to insert, update, delete and select data.
- SQL is the standard database language
- Based on this standard SQL, database vendors like Microsoft, Oracle and many other organizations developed their own database query languages
- TSQL is a proprietary procedural language for working with Microsoft SQL Server database
- Similarly, PL/SQL is a proprietary procedural language for working with Oracle database
- T-SQL and PL/SQL are an extension to standard SQL.
- This means they have more features and functions than the standard SQL.
- For example, features such as local variables are added. Similarly many, many built-in functions are added for processing strings, numbers, dates and other types of data.
- They also added the capability to write stored procedures.
SQL Scripts
Select the data from these table using SQL Join query
Post a Comment