Referential Constraints and Foreign Keys in MySQL

Referential Constraints and Foreign Keys in MySQL

Foreign keys and referential constraints allow you to set relationships between tables and modify some of the database engine’s actions. This beginner’s guide explains referential integrity and foreign key use in MySQL. One of the most important aspects of database usage is being able to trust the information you store. Database engines provide several features that help you maintain the quality of your data, like defining required columns as NOT NULL and setting an exact data type for each column.

Continue Reading

Jane Solves Her Business Analysis Problem

Jane has a data problem and an overdue report. Will SQL save the day? Jane works as a business analyst for a large London bank. As she walks to the station on Monday morning, she’s thinking about last week’s unfinished work. She couldn’t get the data she needed from IT, so she could not deliver her report on a financial product’s non-performing assets. She absolutely must submit the report to her manager today; she’s already delayed it for more than

Continue Reading

GET ACCESS TO EXPERT SQL CONTENT!