l_shipDATE >= '1997-01-01' and l_shipDATE <= '1998-08-10'
ORDER BY l_extendedprice DESC, c_acctbal DESC
ORDER BY l_extendedprice DESC, o_orderDATE DESC
LIMIT 20;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity i_l_orderkey_quantity 4 NULL 330 Using index condition; Using where; Using temporary; Using filesort
1 SIMPLE orders eq_ref PRIMARY,i_o_custkey PRIMARY 4 dbt3.lineitem.l_orderkey 1 Using where
l_shipDATE >= '1997-01-01' and l_shipDATE <= '1998-08-10'
ORDER BY l_extendedprice DESC, c_acctbal DESC
ORDER BY l_extendedprice DESC, o_orderDATE DESC
LIMIT 20;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity i_l_orderkey_quantity 4 NULL 330 Using index condition; Using where; Using temporary; Using filesort
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity i_l_orderkey_quantity 4 NULL 338 Using index condition; Using where; Using temporary; Using filesort
1 SIMPLE orders eq_ref PRIMARY,i_o_custkey PRIMARY 4 dbt3.lineitem.l_orderkey 1 Using where