In this blog post, you will learn how to create a MySQL table using the various tools MySQL Workbench provides without typing any SQL code. Continue reading and learn how…

The Newsletter for PHP and MySQL Developers
Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.
No MySQL Code?
I don’t have anything against MySQL code. As a matter of fact, I actually like it. This blog and a lot of my content are centered around SQL.
That being said, you can most definitely create a MySQL table by using the MySQL Workbench GUI and built-in visual components. Let’s see how…
How To Create A Table With MySQL Workbench
Step 1
First, right-click the Tables menu item in a specific SCHEMA or DATABASE and click on the Create Table… sub-menu item:
Step 2
The next dialogue screen provides a number of options, including:
- Name the table
- Choose the SCHEMA
- Add columns with datatypes and other definitions
- Set collation, virtual/generated columns (optional), indexes, foreign key constraints, etc…
Step 3
Once you have all the columns and metadata set, click the Apply button to proceed:
Step 4
Upon clicking the Apply button, the next dialogue displays the details of the CREATE TABLE DDL in addition to Algorithm and Lock Type options.
If you are satisfied with the CREATE TABLE statement, click the Apply button to execute the statement.
After clicking the Apply button, the CREATE TABLE script is executed and information is displayed in this follow-up dialogue.
Finally, following all of the above operations, I run the DESC target_table command in MySQL Workbench and we can see that the table has been created:
Discover premium articles, in-depth guides, instructional videos, and much more by joining the “MySQL Learning Tier” membership. You have access to exclusive content unpublished anywhere else with this membership. With new content being added regularly, continue learning MySQL at any level.
Similar Reading
Enjoy any of the below similar articles.
- Import CSV file with MySQL Workbench
- Query Results to CSV with MySQL Workbench – Medium cross-post
- Quick SQL Snippets in MySQL Workbench
Thank you for reading this post. Please share it with someone else who would enjoy it as well.
Josh Otwell has a passion to grow as a PHP Developer, SQL expert, and technical blogger/writer.
Disclaimer: The majority of examples in this post, are performed in a personal development/learning workstation environment and should not be considered production quality or ready. Your particular goals and needs may vary. Like always, just because you can do something doesn’t mean you should. My opinions are my own.
More ways I can help
- Any of the Web Squadron Mastery Modules can help you with your online web entrepreneurial endeavor(s).
- Get a handle on Google Analytics with this course by the folks over at The Content Technologist.
- Need hosting for your next web application or WordPress site? I highly recommend Hostinger and use them to host my niche bass fishing site. The service is second to none.
- 🔒5 Truths I’ve Come To Realize As a Self-taught Developer
- Mobile wallpapers, digital downloads, photos, development services, and content – all on one Kofi Shop Page. Find your next digital purchase today!
Disclosure: Some of this blog post’s services and product links are affiliate links. At no additional cost to you, should you make a purchase by clicking through one of them, I will receive a commission.
The Newsletter for PHP and MySQL Developers
Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.
The Newsletter for PHP and MySQL Developers
Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.