Employee table in SQL

Let’s see the normalized emp table in SQL.

Database: t4tutorials,  Table: departments

Dept_NumDept_NameDept_City
1CSIslamabad
2SECALIFORNIA

Database: t4tutorials,  Table: employee

Emp_N

o

Emp_Na

me

Emp_Mobile

No

Emp_EmailEmp_Addr

ess

1ALI33333[email protected]Pakistan
2Asad333333334[email protected]United States

Database: t4tutorials,  Table: mp_department

DepIDEmp_NoDept_Num
111
222
Employee table in SQL
Employee table in SQL

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.

Download emp table in SQL

Database tables in SQL

  1. Student table in SQL
  2. Employee table in SQL
  3. Product table in SQL