11.databases 11.6 Guide Do Practice Set (Database)
11.databases 11.6 Guide Do Practice Set (Database)
DATABASES
Subtitle
Content
11.1 Introduction
11.2 Database architecture
11.3 Database model
11.4 The relationship database model
11.5 Database design
11.6 Guide do practice set (database)
6- GUIDE DO PRACTICE SET
(DATABASE IN MS SQL)
1. Install the SQL Server
Install the SQL Server Management Studio software. This software is available for
free from Microsoft, and allows you to connect to and manage your SQL server from a
graphical interface instead of having to use the command line
2. Start up SQL Server Management Studio
The insert operation is a unary operation—that is, it is applied to a single relation. The
operation inserts a new tuple into the relation. The insert operation uses the following format:
The delete operation is also a unary operation. The operation deletes a tuple defined by a
criterion from the relation. The delete operation uses the following format:
The update operation is also a unary operation that is applied to a single relation. The
operation changes the value of some attributes of a tuple. The update operation uses the
following format:
The select operation is a unary operation. The tuples (rows) in the resulting relation are a
subset of the tuples in the original relation.
The join operation is a binary operation that combines two relations on common attributes.
The union operation takes two relations with the same set of attributes.