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
Batchtown Chicago prom limo .. Lockport Chicago limo O’HareIf you're fairly new to the Internet scene, you may... Read More
The definition of the phrase "Content Management" depends on what... Read More
There's been widespread speculation about the new legislation being introduced... Read More
Think up a name and check if yourname.com is available.... Read More
So you want to have a website. You have gone... Read More
Research reveals three important facts:1) The Internet is one of... Read More
Your site is getting traffic, but conversion rates are horrible.... Read More
Functions and Subroutines in ASP If you read... Read More
Dance is how you pamper your soul and satiate your... Read More
I still remember it very clear ... It was almost... Read More
Getting a Targeted Visitor to a website is a waste... Read More
Although there are significant differences among the various types of... Read More
Through the explosive growth of the Web, companies have realized... Read More
Building a new website can be a lengthy task. From... Read More
The popular search engine Google indexes over 8 billion websites.... Read More
Now that you have got your domain name registered, your... Read More
The art of turning website visitors into paying customers depends... Read More
Here's something you may never have thought of before:If I... Read More
One of the most important parts of establishing a new... Read More
An interesting eCommerce success factor that isn't precisely overlooked, but... Read More
With the New Year upon us yet again, it's time... Read More
Rosalind wants to share her inspirational poetry with a wider... Read More
With all of the factors involved in designing and building... Read More
A common dilemma most small and medium businesses face when... Read More
1. Upload robots.txt file in to your root directory and... Read More
shuttle from Midway Munster are ..The growth in Internet usage around the world is astounding... Read More
Your website conversion rate should concern you. This simply refers... Read More
Installment 1Developing State-enabled Applications With PHPWhen a user is browsing... Read More
Web sites are not just places to sell things; they... Read More
An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More
Every small business owner knows that they need a website,... Read More
80% of your Web site is Maintenance!Once your Web site... Read More
There are many different traffic analysis tools, ranging from simple... Read More
Why do some sites succeed while the vast majority of... Read More
First, an eye opener. Making your fortune through affiliate programs... Read More
Knowledge is power.And undoubtedly, it is the key to making... Read More
An accessible Web site is easily approached, easily understood, and... Read More
Before you jump into spending coutnless hours on designing and... Read More
Getting a Targeted Visitor to a website is a waste... Read More
The Internet is being used by local service business to... Read More
For years now I've been looking to start my own... Read More
Creatively marketing your corporate site takes time in the set... Read More
When you take a look at the most visited sites... Read More
So you want to have a website. You have gone... Read More
"I am a writer, not a business-person. I don't want... Read More
Your site is fast and getting traffic, but conversion rates... Read More
cPanel is a control panel for your website and allows... Read More
If you are like me you have wanted to build... Read More
The big thing these days is your ability to capture... Read More
It is an undeniable fact that not everybody is keen... Read More
Web Development |