Web Development Information

What is SQL?


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.


MORE RESOURCES:

11 ways to save money by using e-business
Computerworld, MA - 2 hours ago
Work Boxers, a blog about professional Web development also offers free downloads. At Smashing Magazine, you can get information about software, ...


Queensland integrator acquires web development company
ARNnet, Australia - Jul 21, 2008
Queensland integrator, Ordyss, has acquired boutique web development company, Logisto, and bolstered its management team and staff numbers. ...


Agile Web Development with Rails, Third Edition beta book
InfoWorld, CA - Jul 15, 2008
I mentioned in Are computing books obsolete? that Agile Web Development with Rails, Third Edition covers Rails 2, but is still only available as a beta ...


Loewy Design Showcases Award-Winning Web Development via Sleek ...
PR Web (press release), WA - Jul 21, 2008
By utilizing these newer web development techniques, Loewy Design delivered a great looking and functioning web experience, while yielding increased search ...


Banker and Tradesman Poll Names Beehive Media "Best of 2008" in ...
PR Web (press release), WA - Jul 21, 2008
The results of the Banker and Tradesman's First Annual Best of 2008 readers' poll found Beehive Media (http://www.beehivemedia.com) to be one of the top web ...


The Web Development Skills Crisis
Slashdot - Jul 12, 2008
snydeq writes "Fatal Exception's Neil McAllister raises questions regarding Web development skills in an era of constant innovation. ...


The Web development skills crisis
InfoWorld, CA - Jul 10, 2008
Last week, I talked about the continuum of Web development tools, ranging from traditional browser-based technologies all the way to applications deployed ...


Hong Kong's Exports Fall for First Time in Two Years (Update2)
Bloomberg - Jul 24, 2008
By Nipa Piboontanasawat July 24 (Bloomberg) -- Hong Kong's exports fell for the first time in more than two years in June as shipments to the US, ...


Web development with Wicket, Part 2: Reducing and re-using code
Java World - Jul 16, 2008
In this second installment in Nathan Hamblen's introduction to Web development with Wicket, you'll see how this open source, component-based Web application ...


Yuma brings object-oriented BASIC to web development
prMac (press release), TX - Jul 15, 2008
Yuma testers have found it to result in faster, more efficient web development than the alternatives they had been using, and find the resulting ...

Web-Development - Google News

home | site map
© 2006