Category: Top » Internet » Web-design »


Author: acbuddy | Total views: 1 Comments: 0
Word Count: 555 Date: Fri, 30 Nov 2007 6:49 AM

Introduction to SQL

For those of you who have just started designing web sites, you are probably well versed in the basics of the HTML programming language. HTML is an easy language to learn. Most beginning web designers are self-taught. They learn HTML through simple online tutorials. HTML, however, is not the only language of cyberspace. There is a lot more to web programming than meets the eye.

HTML only takes care of the front end. There are many other languages and specifications that handle the back end. Javascript, Visual Basic, PHP and a host of other programming languages make a web site come to life. One such important and valuable language is Standard Query Language (SQL), which is the focus of this article.

SQL is the primary language for accessing and interacting with databases running on the backend of a web site. Whenever you use a website to access information, you are using SQL to extract the information you want from the database where the information is stored. SQL works with almost all database programs, such as MS Access, DB2, Informix, MS SQL Server, Oracle, and Sybase.

Databases generally consist of tables. Tables consist of records. Each record in a table contains certain information, separated by columns. For example, a dating website where people can post their profiles would probably consist of a table holding a record of each person who has a membership. In each record, there would be different columns containing information about that particular person. There would likely be a column for height, weight, age, marital status, and other personal information.

When someone using that dating website searches for a profile that matches certain criteria that they are looking for in a potential mate, their query is converted into an SQL statement. That SQL statement interacts with the database, pulls out the profiles that match the search criteria, and then returns the search results to the user. SQL statements consist of commands such as Select, Update, Insert, and Delete. Here is an example of an SQL statement:

SELECT Name,Height,Weight from BODY;

This statement will retrieve all of the data from the Name, Height, and Weight columns contained within the table called Body. SQL is not case sensitive, but the example listed above uses caps to make the statement easier to read. SQL is used not only to find certain things within a table, but to add and remove data as well.

SQL is perhaps the most important programming language of the web. After all, the primary reason why we use the internet is to obtain information about a certain topic. Almost all websites have a database where this information is stored, and SQL enables us to find what we are looking for. All web designers need to understand how to create a simple database and how to create simple SQL statements to make that database accessible to the user. Since the syntax of the language is not complicated, it is easy to learn SQL using online tutorials. If you prefer, you can enroll in SQL courses offline at a local college or computer programming institute. Either way, you need to learn SQL because it is perhaps the most vital programming language of the world wide web.

About the Author

Jim Pretin is the owner of http://www.forms4free.com, a service that helps programmers make email forms.




Rate, comment or bookmark this article

Seed Newsvine

Rating: Not yet rated

Bookmark this article in your preferred program
AddThis Social Bookmark Button

Comments RSS

No comments posted.

Add Comment

Your Name:


Your Email:


Comment

Enter the code shown

Visual CAPTCHA



Popular Articles in this cathegory

1: Really Bad Beginner Website Design Mistakes
Avoiding all the common website design mistakes ahead of time will definitely help your site in the end. If you've never built a website on your own, I hope the tips here help you design the best site that you can and help you to avoid all these bad website design issues in the future.

2: The Important Keys To Successfull Website Design
The golden rules to design a better website for your product or company.

3: Getting The Best From Drupal Content Management Systems
Drupal is one of the most popular content management systems used across the web. It seems the popularity of the Drupal content management system grows by the day, too.

4: Outsourcing Website Design or Software Development Common Problems To Avoid
Have you heard someone talking about difficult scenarios relating to outsourcing their software development? Hearing such stories can make you wary about outsourcing your own projects. After all you do not want the headache of difficult programmers or those that do not complete the job on time.

5: Top Software Programs For Web Site Design
Adobe Dreamweaver 8 is the darling of the professional web design community for its powerhouse features, including powerful support for Cascading Style Sheets (CSS) and all major scripting languages.


Creative Commons License
This article is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
Spanish taslation