This repository refers to the classes about "Database I".
CREATE:Creates objects in the database, such as tables, indexes, or stored procedures.ALTER:Modifies the structure of existing objects, such as adding or removing columns from a table.DROP:Deletes objects from the database, such as tables or indexes.TRUNCATE:Removes all records from a table, keeping its structure.
SELECT:Retrieves data from one or more tables.INSERT:Adds new records to a table.UPDATE:Modifies existing data in a table.DELETE:Removes records from a table.
GRANT:Grants permissions to users or roles to perform operations on the database.REVOKE:Withdraws previously granted permissions.
COMMIT:Confirms the ongoing transaction, making the changes permanent.ROLLBACK:Undoes changes made during the transaction.SAVEPOINT:Sets a point within a transaction to which you can later roll back.
SELECT:Although part of DML, SELECT is often considered a query language.
These are the main types of SQL commands, each playing a specific role in managing and manipulating data in a relational database.