For
Fresher it’s important to know few important commands before starting coding
You
should remember all the commands how and why use.
Firstly
you should know that commands are not case sensitive, and after ending your any
query it’s important to put semicolon (;). It separates the every sql commands.
Here is
the important Sql Commands in sql.
SELECT:
Select Command use to
take out all data from you database.
UPDATE:
Update
data of database.
DELETE:
To
delete data from table.
INSERT INTO:
Inserts new data and new rows into a database
CREATE DATABASE:
It use
to create a new database.
ALTER DATABASE:
Modifies a database
CREATE TABLE:
To
creates a new table
ALTER TABLE:
It use
to modify and delete in table
DROP TABLE:
Use
to delete a table from database
CREATE INDEX:
Use to create index in table it retrieves data
very fast from database. Index use to speedup searches.
DROP INDEX:
Use to
delete index
Comments
Post a Comment