WHAT IS SQL?

 Blogspot #5

A. Engage

What is SQL?

SQL, which stands for Structured Query Language, is a widely-used language for managing relational databases. It enables businesses and organizations to manipulate large amounts of data efficiently by creating, updating, deleting, retrieving, and manipulating data stored in tables. SQL is a declarative language, which means that users specify what they want to do with the data, and the database system determines how to carry out the task. In addition to creating and modifying database structures like tables and indexes, SQL provides a wide range of querying capabilities, such as searching for specific data, aggregating data, and joining multiple tables. Because SQL is supported by many relational database management systems and has a standardized syntax, it facilitates data and command transfer between different database systems.


B. Explore and Explain


1. What are some SQL commands?

- CREATE DATABASE, SELECT, UPDATE, DELETE, INSERT INTO, DROP INDEX, CREATE INDEX, DROP TABLE, ALTER TABLE, CREATE TABLE.


2. What is the difference between drop and delete command?

In a database, the DELETE command removes one or multiple records from a table. On the other hand, the DROP command eliminates the entire table from the database.


C. ELABORATE & EVALUATION

SELECT 1. Extracts data from a database.

INSERT INTO 2. Inserts new data into a database.

ALTER TABLE 3. Modifies a table.

SQL 4. A standard language for accessing and manipulating databases.

GRANT AND REVOKE 5. Can set permissions on tables, procedures, and views.

Comments

Popular posts from this blog

Function, Advantages, Disadvantages of DBMS

Introduction To SQL

Information Management 1 Class Experience