Wilder Workspace Solutions

INNER JOIN

Only rows that have a matching author. A book with no author id drops out.

The numbers stay in this browser tab. Nothing you type is uploaded. Ads on this site are served by Google and may use cookies. Privacy policy.

SELECT b.title, a.name FROM books b INNER JOIN authors a ON a.id = b.author_id;

01

How this number is made

Only rows that have a matching author. A book with no author id drops out. The names books, authors, title, year and id are examples. Point them at your own tables. This page does not connect to a database.

02

Questions

Which SQL dialect is this?

The statements here are ordinary SQL that PostgreSQL, SQLite and MySQL all accept in this simple form. Quoting rules differ once names have spaces.

03