SQL Tutorial

advertisement

SQL Basic

SQL HOME

SQL Intro

SQL SELECT

SQL WHERE

SQL INSERT

SQL UPDATE

SQL DELETE

SQL Demo

SQL Try It

SQL Advanced

SQL ORDER BY

SQL AND & OR

SQL IN

SQL BETWEEN

SQL Aliases

SQL JOIN

SQL UNION

SQL CREATE

SQL DROP

SQL ALTER

SQL Functions

SQL GROUP BY

SQL SELECT INTO

SQL CREATE VIEW

SQL Quick Ref

SQL Quiz

SQL Quiz

SQL Exam

Selected Reading

Web Statistics

Web Glossary

Web Hosting

Web Quality

SQL Tutorial

SQL Tutorial

SQL is a standard computer language for

accessing and manipulating databases.

In this tutorial you will learn how to use

SQL to access and manipulate data in

Oracle, Sybase, SQL Server, DB2, Access,

and other database systems.

Start learning SQL!

SQL Quiz Test

Test your SQL skills at W3Schools!

Start SQL quiz!

Exam - Get Your Diploma!

W3Schools' Online Certification Program is the perfect solution for busy professionals who need to balance work, family, and career building.

The ASP Developer Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.

ASP Developer Certificate!

Table of Contents

SQL Basic

SQL Introduction

Describes what SQL is, and how it can be used.

SQL SELECT

How to use the SELECT statement to select data from a table in SQL.

SQL WHERE

How to use the WHERE clause to specify a criterion for the selection.

SQL INSERT INTO

How to use the INSERT INTO statement to insert new rows into a table.

SQL UPDATE

How to use the UPDATE statement to update or change rows in a table.

SQL DELETE

How to use the DELETE statement to delete rows in a table.

SQL Demo

SQL Try It

Test your SQL skills!

SQL Advanced

SQL ORDER BY

How to use the ORDER BY keywords to return rows in a defined order.

SQL AND & OR

How to use AND and OR to join two or more conditions in a WHERE clause.

SQL IN

How to use the IN operator.

SQL BETWEEN...AND

How to use BETWEEN....AND to find data in a range.

SQL Aliases

How to use aliases for column names and table names.

SQL JOIN

How to select information from multiple tables.

SQL UNION

How to select information from two tables with the UNION and UNION ALL commands.

SQL CREATE

How to create databases, tables, and indices.

SQL DROP

How to delete databases, tables, and indices.

SQL ALTER TABLE

How to use the ALTER TABLE statement to add or drop columns in an existing table.

SQL Functions

How to use the built-in functions in SQL.

SQL GROUP BY

How to use the built-in GROUP BY function in SQL.

SQL SELECT INTO

How to use the SELECT INTO statement to create backup copies of tables.

SQL CREATE VIEW

How to use the CREATE VIEW statement to create a virtual table based on the result-set of a SELECT statement.

SQL Quick Reference

SQL Quick Reference from W3Schools. Print it, and fold it in your pocket.

SQL Quiz

SQL Quiz Test

Test your SQL skills!

Product Spotlight

AspUpload:

Advanced file upload solution. Provides a progress bar, encryption, Unicode support.

Want To Be A Web Master?

If you want to be a Web Master, you will have to host your web site with an ISP (Internet Service Provider).

Lunarpages offers industry leading infrastructure built with the best equipment, including: Dell, Sun and Cisco Network Devices. Their datacenter, located in Los Angeles, California, provides the highest level of security, safety, redundancy, reliability, scalability and technology. Their

BGP4 routed gigabit fiber network is multi-homed with over 60 carriers, such as, Mzima Networks, NTT/Verio, Global Crossing, Genuity, SBC,

Microsoft/MSN, AOL/TimeWarner and Cable & Wireless.

Lunarpages offers affordable, reliable and scalable hosting plans with a 30day, money-back guarantee!

Visit Lunarpages

Download