60
60
WHEN IS_INDEXED = 'YES' THEN 'indexed'
63
DATA_DICTIONARY CHARACTER_SETS function CHARACTER_SET_NAME indexed
64
DATA_DICTIONARY CHARACTER_SETS function DEFAULT_COLLATE_NAME indexed
65
DATA_DICTIONARY CHARACTER_SETS function DESCRIPTION indexed
66
DATA_DICTIONARY CHARACTER_SETS function MAXLEN indexed
67
DATA_DICTIONARY COLLATIONS function CHARACTER_SET_NAME indexed
68
DATA_DICTIONARY COLLATIONS function COLLATION_NAME indexed
69
DATA_DICTIONARY COLLATIONS function DESCRIPTION indexed
70
DATA_DICTIONARY COLLATIONS function ID indexed
71
DATA_DICTIONARY COLLATIONS function IS_DEFAULT indexed
72
DATA_DICTIONARY COLLATIONS function IS_COMPILED indexed
73
DATA_DICTIONARY COLLATIONS function SORTLEN indexed
74
DATA_DICTIONARY COLUMNS function TABLE_SCHEMA indexed
75
DATA_DICTIONARY COLUMNS function TABLE_NAME indexed
76
DATA_DICTIONARY COLUMNS function COLUMN_NAME indexed
77
DATA_DICTIONARY COLUMNS function COLUMN_TYPE indexed
78
DATA_DICTIONARY COLUMNS function ORDINAL_POSITION indexed
79
DATA_DICTIONARY COLUMNS function COLUMN_DEFAULT indexed
80
DATA_DICTIONARY COLUMNS function COLUMN_DEFAULT_IS_NULL indexed
81
DATA_DICTIONARY COLUMNS function COLUMN_DEFAULT_UPDATE indexed
82
DATA_DICTIONARY COLUMNS function IS_AUTO_INCREMENT indexed
63
DATA_DICTIONARY CHARACTER_SETS misc CHARACTER_SET_NAME indexed
64
DATA_DICTIONARY CHARACTER_SETS misc DEFAULT_COLLATE_NAME indexed
65
DATA_DICTIONARY CHARACTER_SETS misc DESCRIPTION indexed
66
DATA_DICTIONARY CHARACTER_SETS misc MAXLEN indexed
67
DATA_DICTIONARY COLLATIONS misc CHARACTER_SET_NAME indexed
68
DATA_DICTIONARY COLLATIONS misc COLLATION_NAME indexed
69
DATA_DICTIONARY COLLATIONS misc DESCRIPTION indexed
70
DATA_DICTIONARY COLLATIONS misc ID indexed
71
DATA_DICTIONARY COLLATIONS misc IS_DEFAULT indexed
72
DATA_DICTIONARY COLLATIONS misc IS_COMPILED indexed
73
DATA_DICTIONARY COLLATIONS misc SORTLEN indexed
74
DATA_DICTIONARY COLUMNS misc TABLE_SCHEMA indexed
75
DATA_DICTIONARY COLUMNS misc TABLE_NAME indexed
76
DATA_DICTIONARY COLUMNS misc COLUMN_NAME indexed
77
DATA_DICTIONARY COLUMNS misc COLUMN_TYPE indexed
78
DATA_DICTIONARY COLUMNS misc ORDINAL_POSITION indexed
79
DATA_DICTIONARY COLUMNS misc COLUMN_DEFAULT indexed
80
DATA_DICTIONARY COLUMNS misc COLUMN_DEFAULT_IS_NULL indexed
81
DATA_DICTIONARY COLUMNS misc COLUMN_DEFAULT_UPDATE indexed
82
DATA_DICTIONARY COLUMNS misc IS_AUTO_INCREMENT indexed
83
83
CREATE SCHEMA randgen_query_test;
84
84
USE randgen_query_test;
85
85
CREATE TABLE t1 (a INT);
105
105
WHEN IS_INDEXED = 'YES' THEN 'indexed'
106
106
ELSE 'indexed' END
108
randgen_query_test t1 table a indexed
109
randgen_query_test t2 table a indexed
110
randgen_query_test t3 table a indexed
111
randgen_query_test t4 table b indexed
112
randgen_query_test t5 table b indexed
113
test t1 table col_bigint indexed
114
test t1 table col_text indexed
115
test t1 table col_char indexed
116
test t1 table col_enum indexed
117
test t1 table col_int indexed
118
test t1 table col_char_not_null indexed
119
test t1 table col_int_not_null_key indexed
120
test t1 table col_text_not_null indexed
121
test t1 table col_enum_not_null_key indexed
122
test t1 table col_int_key indexed
123
test t1 table col_char_key indexed
124
test t1 table col_enum_not_null indexed
125
test t1 table col_text_not_null_key indexed
126
test t1 table pk primary
127
test t1 table col_bigint_key indexed
108
randgen_query_test t1 misc a indexed
109
randgen_query_test t2 misc a indexed
110
randgen_query_test t3 misc a indexed
111
randgen_query_test t4 misc b indexed
112
randgen_query_test t5 misc b indexed
113
test t1 misc col_bigint indexed
114
test t1 misc col_text indexed
115
test t1 misc col_char indexed
116
test t1 misc col_enum indexed
117
test t1 misc col_int indexed
118
test t1 misc col_char_not_null indexed
119
test t1 misc col_int_not_null_key indexed
120
test t1 misc col_text_not_null indexed
121
test t1 misc col_enum_not_null_key indexed
122
test t1 misc col_int_key indexed
123
test t1 misc col_char_key indexed
124
test t1 misc col_enum_not_null indexed
125
test t1 misc col_text_not_null_key indexed
126
test t1 misc pk primary
127
test t1 misc col_bigint_key indexed
128
128
DROP SCHEMA randgen_query_test;
130
130
select AVG(`col_int_key`) + AVG(`col_int`) AS average1,