What is SQL? SQL stands for Structured Query Language and is the lingua franca in the database world. SQL is a standard that is used by all database vendors and programmers to define, extract and access the information that is stored in databases. SQL began life as an IBM creation but was standardized by the American National Standards Institute (ANSI) and the International Organization for Standardization (ISO) as ANSI/ISO SQL in 1988. Since then ANSI/ISO SQL standard continued to evolve. The ANSI-SQL group has since published three standards over the years:
1. SQL89 (SQL1)
2. SQL92 (SQL2)
3. SQL99 (SQL3)
SQL is a query language. It is English-like and easy to use. However, although there are more than 90 SQL reserved words, most programmers seldom use more than the following handful of commands - SELECT, INSERT, UPDATE, DELETE, FROM, WHERE, HAVING, BETWEEN, LIKE, OR, AND, NOT, IN, ORDER, GROUP and BY.
For example, if you had a database table named "employees" and you wanted to retrieve all records where the employee has the last name "goodman", you would use the following SQL statement:
SELECT * FROM employees WHERE lastname = 'goodman';
There are many different categories of SQL statements but the basic ones which all programmers should be familiar with are the SQL statements that:
1. Create tables and manipulate their definitions
2. Query the table data
3. Manipulate the table data
SQL is predominantly used by 2 types of users - programs and humans (keying in the commands through a database client) - to pass instructions to databases. SQL commands can be keyed into a database client like the MySQL Query Browser or the SQL Server Enterprise Manager and executed to either return a result or modify records in the database. SQL can also be used in conjunction with programming language or scripting language like Microsoft Visual Basic or PHP to communicate with the database.
Although SQL is a world standard, it is unfortunate that most database vendors have come up with different dialects and variations. This is because every database vendor wants to differentiate their database products from the crowd. One good example is Microsoft SQL Server's TRANSACT-SQL. TRANSACT-SQL is a superset of SQL and is designed for use only with Microsoft SQL Server. Although it does make programming much easier for software developers, it is not compliant with other databases like Oracle or MySQL - making TRANSACT-SQL programs non database-portable. As such, although many of these features are powerful and robust, it is good practice to exercise caution and limit your SQL use to be compliant with the ANSI/ISO SQL standards and ODBC-Compliant.
Courtesty of sqlprimer.com. For more information, please contact the Webmaster of SQLPrimer.com - sqlprimer.com
car service from Midway Burlington .. Lockport Chicago limo O’HareIf you don't have a web site yet, are thinking... Read More
Q1.Why would I need a web site? A1.- Improve my... Read More
Your website conversion rate should concern you. This simply refers... Read More
To the starting internet entrepreneur, there is nothing more discouraging... Read More
Rosalind wants to share her inspirational poetry with a wider... Read More
When you consider the billions of individuals and companies on... Read More
I am just a learner who likes to delve in... Read More
Your site is fast and getting traffic, but conversion rates... Read More
If you have your own business website and you are... Read More
Just like all things in life, the ways to run... Read More
If one more business owner tells me their website sucks... Read More
D.zigns dzignerwebs The Basics Before starting on... Read More
Huge Mistake #1: Creating a Website with Flash -- Did... Read More
A website is lifeline of internet home business. In order... Read More
Below, I have listed 8 simple steps that you can... Read More
Here's something you may never have thought of before:If I... Read More
The internet has taken over our lives with a vengeance,... Read More
I'm a freelance programmer and somehow I managed to get... Read More
In the time that I have been using the Internet,... Read More
cPanel is a control panel for your website and allows... Read More
Recently I was reviewing the keyword specific conversion rate data... Read More
It is an undeniable fact that not everybody is keen... Read More
What is CSS?CSS is a simple file which controls the... Read More
Before you set up any scripts you will need some... Read More
A lot has changed in the way sites are optimized... Read More
Granger limo Chicago ..1. Splash pagesMost of the time splash pages are uncalled... Read More
So you've decided to start an online work at home... Read More
It is an undeniable fact that not everybody is keen... Read More
Looks like every client wants a Flash site these days... Read More
I talk with so many people who have small businesses... Read More
If you are looking for creating your online presence you... Read More
Creating a content management system either from scratch,... Read More
Succeeding with an eCommerce website is a dream for many... Read More
I am just a learner who likes to delve in... Read More
When I started my company in 2002, I knew I... Read More
We all start out the same. Some have budgets, some... Read More
You want to give your site's visitors a way to... Read More
If you're fairly new to the Internet scene, you may... Read More
Absolutely everything stems from the purpose of your website -... Read More
Just like all things in life, the ways to run... Read More
Your website conversion rate should concern you. This simply refers... Read More
2 Golden Rules for an Engaging Website35% of visitors fail... Read More
Everyone wants one.Everyone wishes they knew how to make one.SOME... Read More
This simple question can take on several different forms, but... Read More
The following is a list of patterns that many visitors... Read More
Most people know they need a website in order to... Read More
1. As the first step, "Hire a web designer."First create... Read More
A website is the most versatile and cost-effective marketing tool... Read More
So you want to take a look at a real... Read More
If you are like me you have wanted to build... Read More
Web Development |