Computing
>
GCSE
>
Networks
>
What is an...
2 years ago
·
2 Replies
·
843 views
Luciano
2 Answers
Computing Teacher based in Somerset. Teach KS3 & GCSE Computer Science
SQL stands for Structured Query Language. It is a set of commands to interact with data on database - including removing, editing and adding data.
I'm available for 1:1 private online tuition!
Click here to view my profile and arrange a free introduction.SQL stands for Structured Query Language - It acts as an interface between the user and the actual database (e.g. Oracle, SQL Server, MySQL). SQL includes SQL commands.
SQL Commands are classified into 4 groups
1. DDL - Data Definition Language
- These commands deal with META-DATA or structure of table
List of commands in DDL:
CREATE - Used to create a table, user, database etc
ALTER - Used to alter table structure (e.g. add new column, update an existing column
DROP - Used to drop table or user or database
2. DML - Data Manipulation Language
- This language commands are used to deal with the actual table data
-> These commands Deals with Rows
-> These commands are used to perform CRUD operations
C - Create record using "INSERT" command
R - Read tables data using "SELECT" command
U - Update records using "UPDATE" command
D - Delete records using "DELETE" command
3. DCL - Data Control Language
- This language commands are used to control data access
- These commands are used by database administrators
List of commands
================
GRANT - to grant permissions to the users
REVOKE - To revoke permissions from the users
4.TCL - Transaction Control Language
- These commands are used to manage database transactions
List of commands
================
COMMIT
ROLLBACK
Think you can help?
Get started with a free online introductions with an experienced and qualified online tutor on Sherpa.
Find a GCSE Computing Tutor