add remove split language show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
attname is_key
a t
c t
d f
e f
f f
SELECT 5
pg_get_expr
g > '2020-01-01'::date
SELECT 1
TABLE_SCHEMA TABLE_NAME INDEX_NAME INDEX_TYPE KEY_COLUMN_LIST UNIQUE PRIMARY_KEY CLUSTERED VALID CONSTRAINT_TYPE INCLUDE_COLUM_LIST FILTER_DEFINITION INDEX_DEFINITION
public tx x1 btree a DESC, b ASC, c DESC f f f t null null null CREATE INDEX x1 ON public.tx USING btree (a DESC, b, c DESC)
public tx x2 btree a ASC, c ASC f f f t null d, e, f null CREATE INDEX x2 ON public.tx USING btree (a, c) INCLUDE (d, e, f)
public tx x3 btree b ASC f f f t null null g > '2020-01-01'::date CREATE INDEX x3 ON public.tx USING btree (b) WHERE (g > '2020-01-01'::date)
SELECT 3