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 - http://www.sqlprimer.com.
![]() |
|
![]() |
|
![]() |
|
![]() |
Can you imagine the hypocrisy of spending thousands of dollars,... Read More
First, an eye opener. Making your fortune through affiliate programs... Read More
A professional online reputation is essential to the flourishing of... Read More
Although designing a great web site is an important part... Read More
Yahoo has long offered email, an online calendar, notes, bookmarks,... Read More
What to put your the website if you are an... Read More
Making maximum profit from your law firm website is important,... Read More
It's now easier than ever to take payments on the... Read More
Selecting the Perfect Domain NameThe first issue I have with... Read More
So you've decided to start an online work at home... Read More
If you ever want to create a state directory, article... Read More
"If you build it, they will come"; is an age... Read More
1. Upload robots.txt file in to your root directory and... Read More
If you don't have a web site yet, are thinking... Read More
Have you ever thought the secret behind the success of... Read More
The Internet is a remarkable publishing medium. With just a... Read More
I recently helped my mom to launch a website (www.mom2me.com)... Read More
Here's something you may never have thought of before:If I... Read More
Knowledge is power.And undoubtedly, it is the key to making... Read More
Many millions of dollars are being wasted on promoting and... Read More
What to do if you are an artist after you... Read More
If you like the Internet and surfing through the billions... Read More
There was a time not long ago when setting up... Read More
The following is a list of patterns that many visitors... Read More
Creating a content management system either from scratch,... Read More
I'm one of those people that always wanted a website,... Read More
To the starting internet entrepreneur, there is nothing more discouraging... Read More
Designing an E-commerce Web site is not as simple as... Read More
If you are like me you have wanted to build... Read More
Optimal website design is the art of logical navigation.It will... Read More
As increasing numbers of people search for information on the... Read More
An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More
How many Web Sites did you stumble over telling you... Read More
Absolutely everything stems from the purpose of your website -... Read More
What is the point of having a website, you may... Read More
Failure, just like success, is measured differently by each and... Read More
Thousands of people are now making a living online and... Read More
One of the best tools you have as a webmaster... Read More
In the late 1990's three San Francisco based web developers... Read More
"I am a writer, not a business-person. I don't want... Read More
Succeeding with an eCommerce website is a dream for many... Read More
Making money with your web site is the dream and... Read More
If your company own one or more stores, you might... Read More
Webmaster tools are vital to becoming both efficient and effective... Read More
Build it and they will come is not always true;... Read More
What is CSS?CSS is a simple file which controls the... Read More
The internet has taken over our lives with a vengeance,... Read More
Many web developers today are starting to KISS their website,... Read More
The Disability Discrimination Act says that websites must be made... Read More
After having decided to start a business, the next thing... Read More
The process of Web application development is critical to the... Read More
Analyzing traffic to a site is a key factor in... Read More
We all start out the same. Some have budgets, some... Read More
As a business you can't afford to ignore the Internet... Read More
Fantastico is a 3rd-party cPanel add-on and can be purchased... Read More
One of the biggest mistakes that most online retailers make... Read More
Losing website sales and traffic is sometimes simply a case... Read More
Recently, a friend asked "What's the deal with those DIY... Read More
Today it seems everyone is jumping on the entrepreneur bandwagon,... Read More
Everyday thousands of new businesses make the leap and take... Read More
What is SQL? SQL stands for Structured Query Language and... Read More
It's now easier than ever to take payments on the... Read More
The Internet is being used by local service business to... Read More
If you are like me you have wanted to build... Read More
Designing an E-commerce Web site is not as simple as... Read More
If you're anything like most small business owners, you probably... Read More
Web Development |