SQL Tutorial – Learn SQL Query Programming Language #sql #sign
SQL Tutorial – Learn SQL Query Language
SQL (Structured Query Language) is a computer language aimed to store, manipulate, and query data stored in relational databases. The first incarnation of SQL appeared in 1974, when a group in IBM developed the first prototype of a relational database. The first commercial relational database was released by Relational Software (later becoming Oracle).
Standards for SQL exist. However, the SQL that can be used on each one of the major RDBMS today is in different flavors. This is due to two reasons: 1) the SQL command standard is fairly complex, and it is not practical to implement the entire standard, and 2) each database vendor needs a way to differentiate its product from others. In this tutorial, such differences are noted where appropriate.
This SQL programming help site lists commonly-used SQL statements, and is divided into the following sections:
- SQL Commands . Basic SQL statements for storing, retrieving, and manipulating data in a relational database.
- Advanced SQL . Discusses SQL commands and calculations that are more advanced.
- SQL Functions . Commonly-used math functions in SQL.
- SQL String Functions . Common string functions used in SQL.
- SQL Date Functions . Common date functions used in SQL.
- Data Definition Language (DDL) . Commands used to create, modify, and delete database objects.
- SQL Constraint . Commands that limit the type of data that can be inserted into a column or a table.
- SQL ALTER TABLE . How to change the structure of a table after it is created.
- SQL NULL . Discusses the concept of NULL in SQL and functions associated with the NULL concept.
- SQL Video Tutorial . For those who prefer to watch videos to learn, the 1Keydata team has created several video tutorials on SQL.
- SQL Syntax . A single page that lists the syntax for all the SQL commands in this tutorial.
- SQL Quiz . A 25-question quiz that you can use to see if you have understodd the concepts taught in this tutorial.
For each command, the SQL syntax will first be presented and explained, followed by an example. By the end of this tutorial, you should have a good general understanding of the SQL syntax, and be able to write SQL queries using the correct syntax. My experience is that understanding the basics of SQL is much easier than mastering all the intricacies of this database language, and I hope you will reach the same conclusion as well.
Although it is a good idea to go through this tutorial in the above order, it is not required. You are free to go through the site based on how you learn best. Please bookmark this site now and so you can come back to this site whenever you need to remember how a SQL command is used.