List of SQL commands
List of SQL commands ALTER TABLE :- ALTER TABLE table_name ADD column datatype; ALTER TABLE lets you add columns to a table in a database. AND :- SELECT column_name(s) FROM table_name WHERE column_1 = value_1 AND column_2 = value_2; AND is an operator that combines two conditions. Both conditions must be true for the row to be included in the result set. AS :- SELECT column_name AS 'Alias' FROM table_name; AS is a keyword in SQL that allows you to rename a column or table using an alias. AVG :- SELECT AVG(column_name) FROM table_name; AVG() is an aggregate function that returns the average value for a numeric column. BETWEEN :- SELECT column_name(s) FROM table_name WHERE column_name BETWEEN value_1 AND value_2; The BETWEEN operator is used to filter the result set within a certain range. The values can be numbers, text or dates. COUNT :- SELECT COUNT(column_name) FROM table_name; COUNT() is a function that takes the name of a column as an argument and counts t