In this video, let's look at an example of creating a database with ChatGPT by using it to generate the SQL statements needed.
I start off by having the necessary tables with the field names and data types in Excel so that I can copy and paste them in the chat window.
After the tables have been created, I then get ChatGPT to create the foreign key constraint.
As for why the creation was split into parts like this is to try and avoid the network error that happens when the response is too long.