Click here to Skip to main content
15,867,568 members
Articles / Programming Languages / Visual Basic
Article

Some Advanced Sql Statements And Aggregated Functions

Rate me:
Please Sign up or sign in to vote.
1.71/5 (7 votes)
31 Jul 2006 26.5K   629   19   2
An Article on Some Advanced Sql Statements and Aggregated Functions

Sample Image - SqlStmt.jpg

Introduction

        Are you bored with the same 'Insert','Delete' & 'Update Statement'?
Then it's time to move on to some advanced Sql Statements and Functions.
Here I have written an application illustrating different advanced
Sql Statements and functions which will be useful to any level of database
programmer.
        This application will provide you sql statements to backup your database,
copy records from one table to another,adding/deleting fields from tables,
creating and droping tables,creating indices,creating joins and so on.
I have also illustrated some aggregrated sql functions like sum,count,
avg,min/max ...
        Other additional statements like Last,In,Union,Distinct,Between...And,
Alias,And..Or,Select...Into,Insert...Select are also included.

        I have also provided some brief hints on each sql statements/functions.

Using The Application

        Drop down the combo-box to select different Sql Statements as you execute them.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 5 Pin
Global Analyser3-Nov-10 8:49
Global Analyser3-Nov-10 8:49 
GeneralMy vote of 1 Pin
Dave Kreskowiak14-Mar-10 4:19
mveDave Kreskowiak14-Mar-10 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.