Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

done #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

done #24

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

```sql
-- Your Query Goes Here
select books.title, authors.name from books
join authors
on authors.id = books.author_id
```

<br>
Expand All @@ -16,6 +19,9 @@

```sql
-- Your Query Goes Here
select books.title, authors.name from authors
left join books
on authors.id = books.author_id
```

<br>
Expand All @@ -24,6 +30,9 @@

```sql
-- Your Query Goes Here
select books.title, authors.name from authors
right join books
on authors.id = books.author_id
```

<br>
Expand All @@ -32,6 +41,9 @@

```sql
-- Your Query Goes Here
select * from authors
full join books
on authors.id = books.author_id
```

<br>
Expand All @@ -42,6 +54,9 @@

```sql
-- Your Query Goes Here
select books.title, publishers.name, publishers.location from books
join publishers
on publishers.id = books.publisher_id
```

<br>
Expand All @@ -50,6 +65,9 @@

```sql
-- Your Query Goes Here
select publishers.name, publishers.location,books.title from publishers
left join books
on publishers.id = books.publisher_id
```

<br>
Expand All @@ -58,6 +76,9 @@

```sql
-- Your Query Goes Here
select publishers.name, publishers.location,books.title from publishers
right join books
on publishers.id = books.publisher_id
```

<br>
Expand All @@ -66,6 +87,11 @@

```sql
-- Your Query Goes Here
select * from publishers
full join books
on publishers.id = books.publisher_id
full join authors
on authors.id = books.publisher_id
```

<br>