Files
oracle/tpt/ast/04_cbo_selectivity_decay.sql
2026-03-12 21:23:47 +01:00

16 lines
381 B
MySQL

-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
DROP TABLE selectivity_test;
CREATE TABLE selectivity_test AS
SELECT sysdate - rownum d
FROM dual connect by level <= 365;
@gts selectivity_test
@minmax d selectivity_test
@descxx selectivity_test