Skip to content

Instantly share code, notes, and snippets.

View Raj-ya664's full-sized avatar
🎯
Focusing

Raj Yadav Raj-ya664

🎯
Focusing
View GitHub Profile
-- 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 (