Introduction
Points
Linestrings
Polygons
26. Getting to know the table sf_hotels
Summary

Instruction

Now, let's get to know the other table.

Exercise

Select all the information from the table sf_hotels.

Each hotel has:

  • a unique identifier (id),
  • a name (name),
  • the polygon that defines it (boundaries),
  • a rating on a scale from 1 to 5,
  • the average price for a double room (avg_double_room).

Also, take a look at the MAP tab. If you zoom in close enough, you will see that each hotel is presented on the map not as a point but rather as a some kind of shape. What's this all about?

Stuck? Here's a hint!

Use the SELECT * FROM ... expression.

Console

Code editor

Result

TableConsoleMap