Basic SQL: Structured Query Language
Basic SQL: Structured Query Language
• SQL schema
– Identified by a schema name
– Includes an authorization identifier and
descriptors for each element
• Schema elements include
– Tables, constraints, views, domains, and other
constructs
• Each statement in SQL ends with a semicolon
Schema and Catalog Concepts in SQL
(cont’d.)
• CREATE SCHEMA statement
– CREATE SCHEMA COMPANY
AUTHORIZATION ‘Jsmith’;
• Catalog
– Named collection of schemas in an SQL
environment
• SQL environment
– Installation of an SQL-compliant RDBMS on a
computer system
The CREATE TABLE Command in SQL