SQL DDL: Database Modification and Advanced Features
Classified in Computers
Written on in
English with a size of 2.48 KB
Advanced Features
Advanced features facilitate consultation similar to a spreadsheet because they work based on rows and columns.
- COUNT(): Count the number of rows in the column set
- MIN(): Find the minimum value of the column set
- MAX(): Find the maximum value of the column set
- AVG(): Gets the average values in the column set
- SUM(): Gets the total value implied by the values obtained in the column provided
Modifying the Database
SQL DDL has modules for the definition of data that allows us to create or modify table structure.
The instructions for these operations are:
- CREATE TABLE: Allows you to create an empty data table.
- INSERT: Allows you to store records in a table created.
- UPDATE: You can modify data records stored in the table.
- DELETE: Deletes a record