Professional Documents
Culture Documents
Introduction To SQL: Essentials of Database Management
Introduction To SQL: Essentials of Database Management
INTRODUCTION TO SQL
Application portability
Application longevity
Cross-system communication
Overall table
definitions
Primary keys
can never have
NULL values
Identifying primary key
Chapter 6 Copyright © 2014 Pearson Education, Inc.
17
Non-nullable specifications
Primary key
Default value
Domain constraint
Primary key of
parent table
Table Actions:
Here,
CUST is a table alias and Name is a
column alias
Chapter 6 Copyright © 2014 Pearson Education, Inc.
32
SELECT EXAMPLE USING A FUNCTION
By default,
processing order
of Boolean
operators is NOT,
then AND, then
OR
45