home / fixtures

facetable

Data license: Apache License 2.0 · Data source: tests/fixtures.py

6 rows where city_id = 1

View and edit SQL

city_id

pk planet_int on_earth state city_id neighborhood
1 1 1 CA San Francisco 1 Mission
2 1 1 CA San Francisco 1 Dogpatch
3 1 1 CA San Francisco 1 SOMA
4 1 1 CA San Francisco 1 Tenderloin
5 1 1 CA San Francisco 1 Bernal Heights
6 1 1 CA San Francisco 1 Hayes Valley

Advanced export

JSON shape: default, array, object

CSV options:

CREATE TABLE facetable (
    pk integer primary key,
    planet_int integer,
    on_earth integer,
    state text,
    city_id integer,
    neighborhood text,
    FOREIGN KEY ("city_id") REFERENCES [facet_cities](id)
)
Powered by Datasette · Query took 6.685ms · Data license: Apache License 2.0 · Data source: tests/fixtures.py