This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- SQL INNER JOIN Lecture | |
| -- An INNER JOIN returns only the rows where there is a match in both tables based on the specified join condition. | |
| -- If there's no match, the rows from both tables are excluded from the result set. | |
| -- Create database | |
| CREATE DATABASE db_inner_join; | |
| USE db_inner_join; | |
| -- Create authors table | |
| CREATE TABLE authors ( |