home / sakila

city

1 row where country_id = 98

✎ View and edit SQL

This data as json, xlsx, CSV (advanced)

Suggested facets: last_update (date)

city_id ▼ city country_id last_update
35 Ashgabat 98 98 2020-12-23 07:12:14

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE city (
  city_id int NOT NULL,
  city VARCHAR(50) NOT NULL,
  country_id SMALLINT NOT NULL,
  last_update TIMESTAMP NOT NULL,
  PRIMARY KEY  (city_id),
  CONSTRAINT fk_city_country FOREIGN KEY (country_id) REFERENCES country (country_id) ON DELETE NO ACTION ON UPDATE CASCADE
);
CREATE INDEX idx_fk_country_id ON city(country_id)
;
Powered by Datasette · Queries took 6.3ms