Create Employee table in MySQL
You can create Employee table in MySQL. You have to use the CREATE TABLE statement with specifying the column name with their datatype. The Employee table could have the employee ID , employee name, email, address, mobile number etc.
-
Employee table structure
Create table statement to create Employee table.
You can create the Employee table with columns EmpID, EmpName, Mobile, PresentAddress, Area, City, Country, Qualification and Email.
CREATE TABLE Employee ( EmpID INT PRIMARY KEY, EmpName VARCHAR(255), Mobile VARCHAR(20), PresentAddress VARCHAR(255), Area VARCHAR(255), City VARCHAR(255), Country VARCHAR(255), Qualification VARCHAR(255), Email VARCHAR(255) );
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.
Don't forget to share this article! Help us spread the word by clicking the share button below.
We appreciate your support and are committed to providing you valuable and informative content.
We are thankful for your never ending support.
Random Code Snippet Queries: Sql
- How to create view in MySQL database
- Create column after a column in existing table using query in MySQL
- Check constraint in MySQL
- Get data in random order with limit from table using mysql
- ERROR 3780 (HY000): Referencing column 'order_id' and referenced column 'id' in foreign key constraint 'order_items_ibfk_1' are incompatible.
- SQLSTATE[01000]: Warning: 1265 Data truncated for column 'visibility' at row 1
- How to create a new table from existing table in SQL
- How to retrieve data from two tables with one SQL statement
- Get comma separated ids from table using MySQL
- How to get a list of MySQL views?
- How to create function in MySQL ?
- How to Rename column name in MySql ?
- Difference between SQL and NoSQL databases
- Clear the terminal screen in MySQL within the Windows powershell
- Insert multiple rows in a single MySQL query
- Create Index in MySQL with example
- Get create table Query from existing table in phpMyAdmin
- How to get the list of all constraints in MySQL database
- Change existing MySQL table column id to autoincrement
- MySQL create procedure example
- Database connection using mySQLi with object-oriented
- 1553 Cannot drop index 'posts_user_id_foreign': needed in a foreign key constraint
- SQL query to delete all rows older than 30 days
- Drop foreign id column (user_id) in MySQL
- How to check the MySQL version