VisualBuilder
  Home > Database > Tutorials > Introduction TO SQL - Database Tutorial
Tell a friend
Link to us
Total Members
      Members: 84606
     
Sitemap Forum Chat
Home
Database Tutorial Home
1 . Introduction To Database
2 . Data Models
3 . Three-Schema Architecture of Database Systems
4 . Database System Architectures
5 . Codd\'s Rules for Relational Databases.
6 . Keys in DBMS
7 . Concept of Normalization
8 . First Normal Form
9 . Second Normal Form
10 . Third Normal Form
11 . Boyce-Codd Normal Form(BCNF)
12 . Fourth Normal Form
13 . Fifth Normal Form (Projection-Join Normal Form)
14 . Introduction TO SQL
15 . Transactions in DBMS
16 . Steps to Design Database for a System
 
Database Group Home
Database Discussion
Database Members (489)
Database Resources
Database Source Code (0)
Database Articles (0)
Database Blogs
Database Jobs
Database Components (0)
Database Books
Database Websites (0)
Database News (0)
Database Q & A (14)
- Database Ask Question
- Database Questions
- Database Unanswered Questions
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.NET Development Tips
ASP.Net Security,Internationalisation And Deployment
ASP.NET Server Controls Tips
ASP.NET Tutorial
C Sharp Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (432 )
Source Code (3217 )
Articles (11 )
Components (1589 )
News (880 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise


Database Tutorial
 Introduction TO SQL
  << Prev: Fifth Normal Form (Projection-Join Normal Form) Next: Transactions in DBMS >>
SQL stands for Structured Query Language .It was developed by IBM and originally called as SEQUEL. It was implemented for getting data from experimental relational database system called SYSTEM R. SQL is very easy and mostly resembles with English language. The following are the features of SQL:-

  1. Almost same as English.

  2. Easy to understand and learn.

  3. Works with all the RDBMS systems currently available.

  4. Many tools are available to auto generate SQL.


  Let’s take an example:
      Select Employ_Name
                        From Employ
This query will retrieve the names of employee from the table EMPLOY.



Classification of SQL
The SQL is basically divided into three parts.



  1. Data Definition Language(DDL)


DDL statements are used to build and modify the structure of your tables and other objects in the database.
Let’s take an example:
create table Student
                (st_name char (20),
                                             st_add char (30),
                                             st_course char (10),
                                             st_rollno numeric(10),
                                              primary key (st_rollno))
This query will create the table in database with fields St_name, st_add, st_course, st_rollno, and will make the st_rollno primary key of table Student.



  1. Data Manipulation Language (DML)

  2. DML is used to retrieve, insert, delete and update data in database.
  3. Data Control Language (DCL)


  4. DCL is a subset of SQL, used to control access to data in a database.

  << Prev: Fifth Normal Form (Projection-Join Normal Form) Next: Transactions in DBMS >>
Database Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
LINKS
MSN
Video Surveillance
VoIP Internettelefonie
Gift to Pakistan
 
ADVERTISEMENT
 
PARTNER LIST

More
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising