Chapter-13 14 MySQL Class 12
Chapter-13 14 MySQL Class 12
Chapter-13 14 MySQL Class 12
TOUR
Introduction
Database
Collection of data
Contains information about one particular
enterprise
Disadvantages
Data Redundancy (duplications of data)
Data inconsistency
Unsharable data
Unstandardized data
Insecure data
Incorrect data
Database Management
System
Advantages of Database System
Reduces data redundancy
Control Data Inconsistency
Sharing of data
Enforces standards
Data model
set of concepts to describe the structure
of a database and certain constraints that
the database should obey.
Relating 2 tables.
Create table marks
Ø ( MID integer,
Ø ExNo integer,
Ø Total integer,
Ø Result varchar(5),
SELECT 3*9*6;
SELECT curdate();
Using Column Aliases
Syntax:
SELECT<column-name> AS <alias-name>
FROM <table-name>;
Condition based on a Range