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
shuttle to Midway Beardstown .. Lockport Chicago limo O’HareThat's right. Your method, behavior and strategy you are now... Read More
An interesting eCommerce success factor that isn't precisely overlooked, but... Read More
Here's something you may never have thought of before:If I... Read More
1. Upload robots.txt file in to your root directory and... Read More
Do you make your website just to entertain yourself or... Read More
A website is the most versatile and cost-effective marketing tool... Read More
Succeeding with an eCommerce website is a dream for many... Read More
"What's in it for me?" you ask. "Why should I... Read More
"'Page Not Found' on this Server. Check the URL and... Read More
Installment 1Developing State-enabled Applications With PHPWhen a user is browsing... Read More
An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More
In the big, wide online world there are millions of... Read More
Better Web Site ROIHow to increase your business profitability by... Read More
What is the most important part of your online business?Many... Read More
"Don't Sell the Steak, Sell the Sizzle."Have you heard of... Read More
Starting and maintaining a business is challenging enough without the... Read More
A professional online reputation is essential to the flourishing of... Read More
Design and layout can make your communication come alive and... Read More
You have seen those web pages where they have the... Read More
So what do you do if need to get a... Read More
How many Web Sites did you stumble over telling you... Read More
Making maximum profit from your law firm website is important,... Read More
Did you know that hosting companies overcrowd their servers despite... Read More
If you're fairly new to the Internet scene, you may... Read More
This is a growing concern amongst many business owners. Does... Read More
Green Bay Hummer H2 SUV rentals ..Many websites I come across don't have a single link... Read More
Are you aware that 90% of the websites on the... Read More
Optimal website design is the art of logical navigation.It will... Read More
Creating a content management system either from scratch,... Read More
Many small businesses have the misconception that their business can... Read More
A professional online reputation is essential to the flourishing of... Read More
After deciding what kind of internet business you want to... Read More
Directory Generator, a product from Armand Morin and Marc Quarles,... Read More
They might not be wearing a mask and carrying a... Read More
If you're looking for better web site ROI, chances are,... Read More
Design and layout can make your communication come alive and... Read More
Like most average persons, I wanted some extra money to... Read More
A lot of people these days are interested in getting... Read More
Keywords in Search Engine Optimizing and Search Engine Marketing are... Read More
Making maximum profit from your law firm website is important,... Read More
In the big, wide online world there are millions of... Read More
Before you set up any scripts you will need some... Read More
Most web sites are more like stage sets than real... Read More
You've put up a website to promote a product or... Read More
A PHP Redirect automatically transfers a web user from one... Read More
Is your website Really useful?I had a 'rep' in yesterday... Read More
The following is a list of patterns that many visitors... Read More
Simply ensuring your website is accessible to screen reader users... Read More
People like to get immediate responses to requests. Autoresponders are... Read More
There was a time not long ago when setting up... Read More
Web Development |