0% found this document useful (0 votes)
20 views

Database Development: Lab Sessions

This document provides an overview of a database development lab session that will cover key database concepts and tasks including: 1) Creating databases and tables, performing basic data manipulation operations like select, insert, update and delete, and using clauses like where, order by, group by and having. 2) Understanding different types of joins like inner, outer and equi joins. 3) Working with advanced table options like primary keys, foreign keys and constraints. 4) Creating other database objects like stored procedures, functions and triggers.

Uploaded by

SaNge Sh-Rpa
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Database Development: Lab Sessions

This document provides an overview of a database development lab session that will cover key database concepts and tasks including: 1) Creating databases and tables, performing basic data manipulation operations like select, insert, update and delete, and using clauses like where, order by, group by and having. 2) Understanding different types of joins like inner, outer and equi joins. 3) Working with advanced table options like primary keys, foreign keys and constraints. 4) Creating other database objects like stored procedures, functions and triggers.

Uploaded by

SaNge Sh-Rpa
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 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