You are on page 1of 13

Database Development

Lab Sessions

Overview
Understanding the database implementation structure Overview of Management Studio Creating Database Creating Table Basic Data Manipulation
Select, Insert, Update, Delete Where clause Order By Aggregate Functions Group By and Having

Select query options

Overview
Joins
Inner Joins Outer Joins Equi Joins

Table advance option


Primary key, foreign keys

Constraints
Default Check

Stored Procedures Function Triggers

Understanding the database implementation structure


Data files
Main Data File Transaction Log File

Users
Login Mode

Service Management System Databases


Master Model MSDB Tempdb

Overview of Management Studio


Workspace Object Explorer Result Pane Generating Scripts

Creating Database
Default Options File options Using statement at Query Window Attaching and Detaching Dropping Backup and Restore

Creating Table
Datatype Overview Primary Key Auto Increment Using statement for table

Basic Data Manipulation


Select
Basic select column filer Basic where clause

Insert
Full select Partial Select

Update Delete

Select query options


Where clause
Operators

Order By
Asc and Desc

Aggregate Functions
Sum, min, max, avg, count

Group By and Having

Joins
Inner Joins Outer Joins
Left Outer Join Right Outer Join Full Outer Join

Equi Joins

Table advance option


Primary key Foreign keys Coding Statements Database Diagrams

Constraints
Default Check

Other Database Objects


Stored Procedures Function Triggers

You might also like