Learning to create a database table

We'll go through a couple of different ways to create a database table in this section. We will use MySQL Workbench for both methods, but one method will not require scriptwriting and the other one will.

First, let's download and analyze the data that will be used for creating the tables:

  1. Download the CSV files from https://github.com/PacktPublishing/learn-sql-database-programming/tree/master/baseballdatabank-csv/csv-files. The files we will be using in this section are in the baseballdatabank-csv/csv-files folder. You will set up just a couple of small tables from this data so that you can have an idea of how the data integrity and keys will work on tables.
  2. Working with the Managers.csv file, the columns ...

Get Learn SQL Database Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.