Java compiler online and runner online7/20/2023 ĭELETE statement is used to delete the existing records present in the database table. UPDATE statement is used to modify the existing values of records present in the database table. Select statement is used to select data from database tables. Syntax INSERT INTO table_name (column1, column2, column3. INSERT Statement is used to insert new records into the database table. Syntax ALTER TABLE table_name1 RENAME to new_table_name1 6. RENAME command is used to rename the table name. DROPĭROP command is used to delete the table along with its data. TRUNCATE command is used to delete the data present in the table but this will not delete the table. Syntax ALTER TABLE Table_name ADD column_name datatype 3. Syntax: CREATE TABLE table_name (ĪLTER command is used to add, modify or delete columns or constraints from the database table.
0 Comments
Leave a Reply. |