Instruction
Before we start doing exercises, let's get to know the tables we'll be working with.
Today, we'll visit the Bookworm Bookshop. It has lots of books in stock from various authors. Let's take a look at their database, shall we? First, the Author table.
You can view table in the tab on the right. Throughout the course, you can always consult the tab to check the names of tables and the data they contain.
Exercise
The Author table consists of four columns:
Id– the ID of a given author,Name– the name of a given author,BirthYear– the year in which a given author was born, andDeathYear– the year in which a given author died (the field is empty if they are still alive).
Select all data from the Author table.
Type the appropriate SQL query in the panel and press the button.
Stuck? Here's a hint!
Type:
SELECT * FROM Author
If you don't know how to select data from one table, we recommend you first try our SQL Basics in MS SQL Server course before moving on.



