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