Home / Companies / PlanetScale / Blog / Post Details
Content Deep Dive

Introduction to MySQL joins

Blog post from PlanetScale

Post Details
Company
Date Published
Author
JD Lien
Word Count
1,599
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

INNER JOINs return only records with matching keys in both tables. LEFT JOINs return records from the first table if they are referenced by the second table, while RIGHT JOINs return records from the second table if they are referenced by the first table. FULL OUTER JOINs return all records from both tables, even if there is no match. WHERE can be used to filter results to show only records with NULL keys, and UNION combines the results of two queries into one result set. With a good understanding of joins, developers can write powerful and efficient queries in MySQL.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.