← All tables and views

Sakila view

staff_list

Native view in the Sakila sample database.

2rows

8 columns

Schema from the provider contract
ColumnTypeNullableKeyReferences
IDyes——
nameyes——
addressyes——
zip codeyes——
phoneyes——
cityyes——
countryyes——
SIDyes——

View definition

CREATE VIEW "staff_list" AS SELECT s.staff_id AS ID, (s.first_name || ' ' || s.last_name) AS name, a.address AS address, a.postal_code AS "zip code", a.phone AS phone, city.city AS city, country.country AS country, s.store_id AS SID FROM staff AS s JOIN address AS a ON s.address_id = a.address_id JOIN city ON a.city_id = city.city_id JOIN country ON city.country_id = country.country_id

Data preview

Sample records

2 rows available
IDnameaddresszip codephonecitycountry
1Mike Hillyer23 Workhaven Lane14033335568LethbridgeCanada
2Jon Stephens1411 Lillydale Drive6172235589WoodridgeAustralia