add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
version
PostgreSQL 14.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-10), 64-bit
SELECT 1
CREATE TABLE
INSERT 0 24
session_id seconds question_id response file
758 1459505869 31 0 \x20
758 1459505869 32 0 \x20
758 1459505869 33 0 \x20
758 1459505869 34 0 \x20
758 1459505869 35 1 \x20
758 1459505869 36 0 \x20
758 1459505869 37 0 \x20
758 1459505869 38 0 \x20
758 1459506973 38 0 \x20
758 1459506973 37 0 \x20
758 1459506973 36 0 \x20
758 1459506973 35 1 \x20
758 1459506973 34 0 \x20
758 1459506973 33 0 \x20
758 1459506973 32 0 \x20
758 1459506973 31 0 \x20
758 1459508676 31 0 \x20
758 1459508676 32 0 \x20
758 1459508676 33 0 \x20
758 1459508676 34 0 \x20
758 1459508676 35 1 \x20
758 1459508676 36 0 \x20
758 1459508676 37 0 \x20
758 1459508676 38 0 \x20
SELECT 24
session_id not_foot_count not_moving foot bike motor car bus metro train other
758 0 0 0 0 0 0 0 0 0 0
SELECT 1
session_id seconds question_id response file
758 1459505869 31 0 \x20
758 1459505869 32 0 \x20
758 1459505869 33 0 \x20
758 1459505869 34 0 \x20
758 1459505869 35 1 \x20
SELECT 5