01 / 12
Why were the tables split up?
In the SQL course you practised joining an orders table to a customers table. Did you not think, at the time: if it had all been one table from the start, there would be nothing to join?
As it happens, keeping it in one table causes trouble. If the same customer orders ten times, the customer name is written in ten places. When they change their surname, all ten have to be corrected. Miss even one and you end up with data where one customer number carries two different names.
So the tables are split on purpose, and JOIN exists to put what was split back together. In this lesson you will see that there are names and a procedure for how the splitting is done.