What is SQL Statements?

  • There are two types of SQL Statement – DML and DDL.

  • The Data Manipulation Language (DML).
  • SELECT – Select data from a database
  • UPDATE – Updates data in a database
  • DELETE – Delete data from a database
  • INSERT INTO – Inserts new data into a database.

  • The Data Definition Language (DDL).

  • CREATE DATABASE – Creates a new database
  • ALTER DATABASE – Modifies a database
  • CREATE TABLE – Creates a new table
  • ALTER TABLE – Modifies a table
  • DROP TABLE – Deletes a table
  • CREATE INDEX – Creates an index (search key)
  • DROP INDEX – Deletes an index

Leave a Reply

Your email address will not be published. Required fields are marked *

9 + 4 =


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">