Table & Views
MySQL View
In MySQL, View is a virtual table created by a query by joining one or more tables. MySQL Create VIEW A VIEW is created by…
DROP Table
MYSQL DROP table statement removes the complete data with structure. Syntax: DROP TABLE table_name; Example: This example specifies how to drop a table. In this example, we…
TRUNCATE Table
MYSQL TRUNCATE statement removes the complete data without removing its structure. The TRUNCATE TABLE statement is used when you want to delete the complete data…
ALTER Table
MySQL ALTER statement is used when you want to change the name of your table or any table field. It is also used to add…
CREATE TABLE
The MySQL CREATE TABLE command is used to create a new table into the database. A table creation command requires three things: Name of the…