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