sql create relational database code example Example: mysql relationships between tables FOREIGN KEY (column) REFERENCES table(column)