From 005f9d7d3d47980ca1221233a7a56cafd816b850 Mon Sep 17 00:00:00 2001 From: Konstantinos Gerogiannis Date: Wed, 20 Nov 2024 11:23:09 +0100 Subject: [PATCH] done --- queries.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/queries.md b/queries.md index b06f900..b4183ac 100644 --- a/queries.md +++ b/queries.md @@ -8,6 +8,9 @@ ```sql -- Your Query Goes Here +SELECT * from books +inner join authors +on books.author_id = authors.id; ```
@@ -16,6 +19,10 @@ ```sql -- Your Query Goes Here +SELECT * from authors +left join books +ON + authors.id = books.author_id; ```
@@ -24,6 +31,10 @@ ```sql -- Your Query Goes Here +SELECT * from authors +right join books +ON + authors.id = books.author_id; ```
@@ -32,6 +43,10 @@ ```sql -- Your Query Goes Here +SELECT * from authors +full join books +ON + authors.id = books.author_id; ```