daily
Tehtävä
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 |
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 1
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
daily
Pyyhkäise näyttääksesi valikon
Tehtävä
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 |
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 1
single