Chapter One
1: What is a database?
2; What is a relational database (RDBMS)?
3:
Explain what it means
4: Restrictions on database table names
5; CREATE DATABASE myFirstDatabase;
DROP DATABASE myFirstDatabase;\
Explain what he meant
6 Common data types:
type of data |
usage |
Char |
text data |
Varchar |
Variable length |
Nchar |
|
Nvarchar |
|
int |
Large range of values |
smallint |
Small range |
real |
8 after decimal point |
decimal |
After the decimal point |
datetime |
date |
datetime |
time |
7: Syntax to create a table
8: Create table example
CREATE TABLE Train_Times
(
start_location varchar(75),
destination varchar ( 75 ),
departs time ,
arrival time
)
9: Change existing table