daily
Swipe to start coding
Write a SELECT statement to retrieve the title of each book and the corresponding author's name. Query the books and authors tables, returning title from books and name from authors.
Example tables:
books
| book_id | title | author_id |
|---|---|---|
| 1 | Harry Potter and the Philosopher's Stone | 1 |
| 2 | A Game of Thrones | 2 |
| 3 | The Hobbit | 3 |
authors
| author_id | name |
|---|---|
| 1 | J.K. Rowling |
| 2 | George R.R. Martin |
| 3 | J.R.R. Tolkien |
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
daily
Glissez pour afficher le menu
Swipe to start coding
Write a SELECT statement to retrieve the title of each book and the corresponding author's name. Query the books and authors tables, returning title from books and name from authors.
Example tables:
books
| book_id | title | author_id |
|---|---|---|
| 1 | Harry Potter and the Philosopher's Stone | 1 |
| 2 | A Game of Thrones | 2 |
| 3 | The Hobbit | 3 |
authors
| author_id | name |
|---|---|
| 1 | J.K. Rowling |
| 2 | George R.R. Martin |
| 3 | J.R.R. Tolkien |
Merci pour vos commentaires !
single