MYSQL COMMANDS
1. Opening and logging into mysql Server $ mysql -u root -p password:root 2. To see all the Databases in the mysql Server mysql> show databases; DDL Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples: Create, Alter, Truncate, Drop and Rename. 3. CREATE To create a New Database in the mysql Server mysql> create database databasename ; 4. To use the particular Database; mysql> use databasename; 5. To create a T able (say department) in the Database mysql> create table department(id int, name varchar(255)); 6. ALTER Alter the table (say department) by adding the new column. ALTER TABLE table_name ADD column_name datatype; eg; mysql> alter table department add age int; 7. TRUNCATE Truncate removes all rows from a table. Truncate the table (say department) by using following command mysql> truncate table department...