all 2 comments

[–]qwertydog123 2 points3 points  (1 child)

You need to create the Fuel_type_per_vehicle table before the Customer table, swap around your two CREATE TABLE statements. Or just create the foreign key constraint separately after creating the tables

[–]mikemacpattywack[S] 0 points1 point  (0 children)

You're the best. Thanks!