An inner join uses a comparison operator to match rows from two tables that are based on the values in common columns from each table. Inner joins are the most common type of joins.
MYDB.SCHEMA(USER)=> SELECT * FROM weather INNER JOIN cities ON
(weather.city = cities.name);
MYDB.SCHEMA(USER)=> SELECT city, temp_lo, temp_hi, prcp, date, location
FROM weather, cities WHERE city = name;
MYDB.SCHEMA(USER)=> SELECT weather.city, weather.temp_lo, weather.temp_hi,
weather.prcp, weather.date, cities.location FROM weather, cities WHERE
cities.name = weather.city;