This document discusses SQL commands and creating and manipulating databases. It defines what a database is and provides an example table. It then describes various SQL commands like CREATE TABLE, INSERT INTO, and SELECT that allow you to structure and interact with data in a database. Examples are given for how to use these commands to generate tables and insert, read, and select data from databases.
This document discusses SQL commands and creating and manipulating databases. It defines what a database is and provides an example table. It then describes various SQL commands like CREATE TABLE, INSERT INTO, and SELECT that allow you to structure and interact with data in a database. Examples are given for how to use these commands to generate tables and insert, read, and select data from databases.
This document discusses SQL commands and creating and manipulating databases. It defines what a database is and provides an example table. It then describes various SQL commands like CREATE TABLE, INSERT INTO, and SELECT that allow you to structure and interact with data in a database. Examples are given for how to use these commands to generate tables and insert, read, and select data from databases.
Elizabeth Vinitha - ICT Elizabeth Vinitha - ICT Example for a table
Elizabeth Vinitha - ICT
Elizabeth Vinitha - ICT Elizabeth Vinitha - ICT Elizabeth Vinitha - ICT Elizabeth Vinitha - ICT Elizabeth Vinitha - ICT Elizabeth Vinitha - ICT Commands
Elizabeth Vinitha - ICT
Datatypes
Elizabeth Vinitha - ICT
Basic syntax of CREATE TABLE statement
CREATE TABLE table_name( column1
datatype, column2 datatype, column3 datatype, ..... columnN datatype, PRIMARY KEY( one or more columns ) );