Basic Queries  «Prev  Next»

Select Statement - Exercise

Objective: Retrieve all columns from all rows in a single table.

Exercise Scoring

This exercise is worth a total of 3 points. It's auto-scored, which means that once you've entered your answer below, click the Submit button to receive full credit.

Instructions

  1. Write a SELECT statement that returns every column of every row in VirtualBookShelf's Customer table.
  2. Open Azure Data Studio and connect to the VirtualBookShelf database.
  3. Open a new query window, type your statement, and run it to confirm it returns the result you expect.
  4. Paste the statement into the text box below and click Submit.
Hint: The * character requests every column in a row without naming them one by one. You could list each of Customer's columns by name instead, but * is the easier way to ask for all of them.


Submitting the Exercise

Type or paste your SELECT statement into the text box above, then click Submit to submit it and view a results page.