SQL Data Types
Numeric data types,
Date and Time data types
Character and String data types
Number datatype
Mixed datatype
SQL-Constraints:
CHECK That all values in a column satisfies a specific condition
DEFAULT Sets a default value for a column when no value is specified
FOREIGN KEY Uniquely identifies a row/record in another table
INDEX Used to create and retrieve data from the database very quickly
NOT NULL Ensures that a column cannot have a NULL value
PRIMARY KEY A combination of a NOT NULL and UNIQUE. Uniquely identifies each row in a table
UNIQUE Ensures that all values in a column are different
SQL Statements:
CREATE -- Create a new table in a database