Letβs see the normalized emp table in SQL.
Database: t4tutorials, Table: departments
Dept_Num | Dept_Name | Dept_City |
1 | CS | Islamabad |
2 | SE | CALIFORNIA |
Database: t4tutorials, Table: employee
Emp_N
o |
Emp_Na
me |
Emp_Mobile
No |
Emp_Email | Emp_Addr
ess |
1 | ALI | 33333 | ALI@ALI.COM | Pakistan |
2 | Asad | 333333334 | Asad@Asad.COM | United States |
Database: t4tutorials, Table: mp_department
Creating employee table in MySQL
Execute this query to auto-create tables in MYSQL
Inserting data into employee table in MySQL
Execute this query to auto-insert data in tables using MYSQL.
Similarly, you can insert data into all tables, by simplifying modifying queries or by using the end-user interface of your tool.