compound_three_primary_keys

Data source: github.com/simon/datasette-psutil · About: /-/psutil demo

2 rows where pk2 = "i" and pk3 = "j"

View and edit SQL

Link pk1 pk2 pk3 content
a i j a-i-j
b i j b-i-j

Advanced export

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

CSV options:

CREATE TABLE compound_three_primary_keys (
  pk1 varchar(30),
  pk2 varchar(30),
  pk3 varchar(30),
  content text,
  PRIMARY KEY (pk1, pk2, pk3)
);
CREATE INDEX idx_compound_three_primary_keys_content ON compound_three_primary_keys(content);
Powered by Datasette · Query took 10.524ms · Data source: github.com/simon/datasette-psutil · About: /-/psutil demo