Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML
 
 
Search All Tutorials

 
Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML
 
SQL
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

SQL Example, Codes and Tutorials

                         

SQL: A brief Introduction
SQL stands for Structured Query Language. It is easy and allows us to create a database. It is an ANSI language which allows an user to write queries to access, modify and delete the customize data. SQL consist of data definition language (DDL) and data manipulation language (DML).

  1. Data Normalization
    In this section we will learn about the concepts of data normalization. T
    he most important thing in database designing is to make sure that the data get properly distributed among the tables. 
                 
  2. Create a database
    we can create a database by using the Database name. In SQL the key word 'Show databases' finds the existing databases. You may create your own or use an existing one after that create connection with database.
             
  3. The INSERT INTO Statement
    To insert records into a table, use the key word insert into 'table name',  just write a list of column names separated by commas, followed by a closing parenthesis then using keyword values, write the list of values enclosed in parenthesis.
             
  4. The UPDATE Statement
    The UPDATE statement is used to modify the data in the database table in a specified manner. In the syntax of update statement the keyword 'set' is used to assign a new value to a selected column. The statement is accomplished by a where clause.
             
  5. The DELETE Statement
    The DELETE statement is used to delete rows in a table. database will update that is why deletion and insertion of data will be done.
              
  6. The SELECT Statement
    SELECT key word is used to select data from a table. The tabular result is stored in a result set. SELECT column_name give the path FROM table_name.
             

  7. The WHERE Clause
    WHERE clause is used with the SELECT keyword. 'Where' is a clause which is used for searching the data with a particular condition. 

  8. The Aggregate Functions
    In this section we are going to illustrate aggregate function, with the help of which we can use many arithmetic operation like average, count, maximum and many more in SQL.

                         

Facing Programming Problem?
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

0 comments so far (post your own) View All Comments Latest 10 Comments:

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Hot Web Programming Job

Java String toLowerCase Example
Java String toCharArray Example
Java String substring Example
Java String indexOf Example
Java String startsWith Example
Java String hashCode Example
Java String matches Example
Java String length Example
Java String lastIndexOf Example
Java String isEmpty Example
Java String equalsIgnoreCase Example
Java String equals Example
Java String endsWith Example
Java String copyValueOf Example
Java String contentEquals Example
  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.