MySQL Part 3: Creating Tables
Introduction In this article, we will walk through how to create three (3) MySQL tables. For more information about setting up MySQL through the goormIDE, please check out Part 1 of this series. MySQL Part 1: goormIDE Create Tables and Insert Data In Part 2 of this series, we created a database. For more information about this article, click the link below. MySQL Part 2: Create Database In Part 3, we will create three (3) bike shop tables. Each of these tables will have its own primary key and its own individual setup. If you started a new MySQL session, please type the following into the Terminal and press <Enter>. mysql - ctl cli Please ensure that the bike_shop.sql file is selected and available. If not, double-click it on the left-hand side. This is where we are going to type most of our code. If there is information saved in there, go ahead and clear out that information. Bikes Table Before we create the table, we hav...