VisualBuilder
  Home > Database > Tutorials > SQL Components: An Overview - SQL tutorial
Tell a friend
Link to us
Total Members
      Members: 84648
     
Sitemap Forum Chat
Home
SQL Tutorial Tutorial Home
1 . History of SQL
2 . SQL Components: An Overview
3 . Data Types in SQL
4 . Planning a Database: An Example: -
5 . Creating Tables
6 . Inserting Data using Insert
7 . Getting Data with Select Statement
8 . Working with Operators
9 . Selecting Unique rows with Distinct
10 . Arraging Data with Order by
11 . Working with Strings
12 . SQL AND
13 . Basic SQL Funtion
14 . Sub-Queries, Nested Queries
15 . Constraints in the Table
16 . SQL UPDATE
17 . View
18 . Relationships in a RDBMS
19 . Structure Modification,Updation and Deletion
 
Database Group Home
Database Discussion
Database Members (506)
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
Grails Tutorial
Hibernate Tutorial
Java 1.6 Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Service-Oriented Architecture (SOA) Using Java Web Services Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (436 )
Source Code (3275 )
Articles (11 )
Components (1589 )
News (888 )
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 sql Tutorial
 SQL Components: An Overview
  << Prev: History of SQL Next: Data Types in SQL >>

The following are SQL components:-


1. DDL (Data Definition Language) :- DDL is used to define, modify and delete the schema (structure of the database objects).


Examples: - CREATE, ALTER, DROP, TRUNCATE.


2. DML (Data Manipulation Language):- DML is used to operate on the data in the database rather than the schema. The common operations are: Fetch the data according the user requirements and Insertion, Deletion and updating of the data. for example:- SELECT, INSERT, UPDATE, AND DELETE.


3. DCL (Data Control Language):- DCL is used to give and take the data access permissions and rights to the different users.for example : - GRANT, REVOKE


Transaction control statements Transaction Control Statements are used to control the overall transaction of the data. for example : - SET TRANSACTION, COMMIT, ROLLBACK


SQL Objects: An Overview


Tables: - Tables are logical structures maintained by the database manager. Tables are made up of columns and rows. The rows are not necessarily ordered within a table (order is determined by the application program). At the intersection of every column and row is a specific data item called a value. A column is a set of values of the same type or one of its subtypes. A row is a sequence of values arranged so that the nth value is a value of the nth column of the table.


Views: - A view provides an alternative way of looking at the data in one or more tables. It is a named specification of a result table. The specification is a SELECT statement that is executed whenever the view is referenced in an SQL statement.


Aliases: - An alias is an alternative name for a table or view. It can be used to reference a table or view in those cases where an existing table or view can be referenced. An alias cannot be used in all contexts. For example, it cannot be used in the check condition of a check constraint.


Indexes: - An index is an ordered set of pointers to rows of a base table. Each index is based on the values of data in one or more table columns. An index is an object that is separate from the data in the table. When an index is created, the database manager builds this structure and maintains it automatically. Indexes are used by the database manager to: Improve performance. In most cases, access to data is faster than without an index. An index cannot be created for a view. However, an index created for a table on which a view is based can sometimes improve the performance of operations on the view. Ensure uniqueness. A table with a unique index cannot have rows with identical keys.


Queries: - A query is a component of certain SQL statements that specifies a (temporary) result table.


  << Prev: History of SQL Next: Data Types in SQL >>
Database Sql 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
Montignac Shop
cell phone antennas
online fax server
Video Surveillance
Gift to Pakistan
 
ADVERTISEMENT
 
PARTNER LIST

More
 
 
 

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