Reprence Html CSS javascript PHP MySQL Bootsrap

MySQL INNER JOIN Keyword

The INNER JOIN keyword selects records that have matching values in both tables.

83

INNER JOIN Syntax

84

Demo Database

In this tutorial we will use the well-known Northwind sample database.

Below is a selection from the "Orders" table:

85

And a selection from the "Customers" table:

86

MySQL INNER JOIN Example

The following SQL statement selects all orders with customer information:

87