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.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
380 views28 pages
Database: SQL Commands
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.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 28
DATABASE
SQL COMMANDS
Elizabeth Vinitha - ICT
What is a Database?
Elizabeth Vinitha - ICT
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 ) );