sortable

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

26 rows where pk1 = "f" sorted by pk2 descending

View and edit SQL

pk1

Link pk1 pk2 ▲ content sortable sortable_with_nulls sortable_with_nulls_2 text
f m f-m 6 0.8336930832963215   $blah
f l f-l -1 0.6704862188501712 0.5401924954289701 $null
f k f-k -65 0.045346811013382116 0.23480003243132908 $null
f j f-j 56 0.22136720007399002 0.909387638427892 $null
f i f-i 49 0.3810254992724753   $blah
f h f-h 42   0.2644585783524238 $blah
f g f-g 91 0.8703969593250397   $blah
f f f-f 35   0.2569700845632623 $blah
f e f-e 87 0.13141180642048544   $blah
f d f-d 60   0.4408231901628116 $blah
f c f-c 55   0.6777644586233594 $null
f b f-b 44   0.9106169537187105 $null
f a f-a 47   0.9779444845768627 $null

Advanced export

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

CSV options:

CREATE TABLE sortable (
  pk1 varchar(30),
  pk2 varchar(30),
  content text,
  sortable integer,
  sortable_with_nulls real,
  sortable_with_nulls_2 real,
  text text,
  PRIMARY KEY (pk1, pk2)
);
Powered by Datasette · Query took 5.712ms · Data source: github.com/simon/datasette-psutil · About: /-/psutil demo